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.
Thats my 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.
and i know how to test for normal distribution, but i dont know how to select a group.
EXAMINE VARIABLES=Zufall_1
/PLOT BOXPLOT STEMLEAF NPPLOT
/COMPARE GROUPS
/STATISTICS DESCRIPTIVES
/CINTERVAL 95
/MISSING LISTWISE
/NOTOTAL.
Can someone help me pls :)
Aucun commentaire:
Enregistrer un commentaire