回复:(sungmoo)可不可以先把你的stable与totzarit的...
Gen vmms=totmms4a - totmms
sum vmms
Variable Obs Mean Std. Dev. Min Max
vmms 184 -7.141304 5.745193 -26 9
list numcp totmms4a vmms if vmms==. & totmms4a!=.
Numcp Totmms Totmms4a Vmms
16141 . 16 .
3)
sum vmms,det
gen vmms4=.
replace vmms4=1 if vmms<=-11
replace vmms4=2 if vmms>-11 & vmms<=-7
replace vmms4=3 if vmms>-7 & vmms<=-3
replace vmms4=4 if vmms>-3 & vmms<.
tab vmms4
vmms4 Freq. Percent Cum.
1 51 27.72 27.72
2 48 26.09 53.80
3 40 21.74 75.54
4 45 24.46 100.00
Totle 184 100.00
4)
gen stable=0
replace stable=1 if vmms4==4
replace stable=. if vmms==.
tab stable, miss
stable Freq. Percent Cum.
0 139 20.26 20.26
1 45 6.56 26.82
. 502 73.18 100.00
Total 686 100.00
sum totzarit
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
totzarit | 638 22.60815 15.8566 0 82
. sum totzarit,det
zarit total t0
-------------------------------------------------------------
Percentiles Smallest
1% 0 0
5% 2 0
10% 4 0 Obs 638
25% 10 0 Sum of Wgt. 638
50% 20 Mean 22.60815
Largest Std. Dev. 15.8566
75% 33 71
90% 44 71 Variance 251.4318
95% 55 72 Skewness .8159247
99% 68 82 Kurtosis 3.345145
还请sungmoo多指教