title: Spss loop and testing for normal distribution
body: <p>I am currently working in SPSS. I want to creat 50 groups and for each group i  generate 100 random numbers. After this i want to test each group for normal distribution. Unfortunately, this doesnt work.</p>
  
  <p>Thats my code:</p>
  
  <pre><code>input program.
     loop l=1 to 50 by 1.
       loop index_2=1 to 100 by 1.
       COMPUTE index_1 =l. 
       end case.
     end loop.
  end loop.
  end file.
  end input program.
  exe.
  </code></pre>
  
  <p>and i know how to test for normal distribution, but i dont know how to select a group. </p>
  
  <pre><code>  EXAMINE VARIABLES=Zufall_1 
    /PLOT BOXPLOT STEMLEAF NPPLOT 
    /COMPARE GROUPS 
    /STATISTICS DESCRIPTIVES 
    /CINTERVAL 95 
    /MISSING LISTWISE 
    /NOTOTAL.
  </code></pre>
  
  <p>Can someone help me pls :)</p>