Hi Everyone,
I'm trying to run an analysis on a subpopulation of a sample, but I noticed that after I did these commands my variable's key automatically switched from frequency to proportion:
generate sample =0
replace sample=1 if Eldercarein3months!=.
tab sample
svyset cluster [pw=wt06], strata(strata)
svy, subpop(if sample==1): tab Eldercarein3months
This is a problem because I am hoping to run a chi2 on my variables, but I can't do that with a proportional key. Is there any way I can change it back to frequencies?
Thank you,
Evan
0 Response to Proportion to Frequency using subpop commands
Post a Comment