Obtaining the quantity and proportion in SPSS 21 -


i have data in sav file

code  |  quantity ------|----------     |  1 b     |  4 c     |  1 f     |  3 b     |  3 d     |  12 d     |  5 

i need obtain quantity of codes have quantity <= 3 , obtain proportion in percentage respect total number , present result this

<= 3  |  percentage ------|---------- 4     |  57 % 

all of using spss syntax.

i dont know how migrate question here, dont have reputation here add screen shoots that's allot. anyhow procedure of desire output given below.

goto transform->count values within cases dialogue box open, write name of new variable "new" in target variable: go define values new dialogue box open check radio button range, lowest through value: put in below box 3 , press add , press continue , press ok. new variable created name of "new". go analyze -> descriptive statistics-> frequencies, new dialogue box open send "new" variable variable(s): press statistics in new dialogue box check percentile(s): write 100 in box , press add , continue , ok. desire results.


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -