Search results

  1. F

    STATA commad "by V1: egen newvar=count(V1)": how to do it in SPSS?

    Problem solved! AGGREGATE OUTFILE=* MODE=ADDVARIABLES /BREAK = V1 /newvar= N(V1). Andrea
  2. F

    STATA commad "by V1: egen newvar=count(V1)": how to do it in SPSS?

    Hello to all. On STATA the command by V1: egen V2 = count (V1) generates a new variable that contains the frequency of the different values of V1. To show you the result I'm attaching two images: Img 1: frequency table of V1 Img 2: Stata command and results What command should I use in...