Weighted Chi2 (STATA) [message #14370] |
Thu, 29 March 2018 04:06 |
Sai San Moon Lu
Messages: 5 Registered: January 2018 Location: Umea, Sweden
|
Member |
|
|
Hello,
I have a problem with running Chi2 considering weights in STATA.
I am using 2015-16 MDHS,Myanmar (br.file)and running chi2 for v106(education) and b5(child death) considering weighting.
I have already done svy set (generate wgt = v005/1000000 svyset [pw=wgt], psu(v021)strata(v023))as recommended.
However, it shows error when I used chi2 testing (weighted)..
The command that I used is svy: tab b5 v106, chi2 col .I also tried that -tab b5 v106, chi2 col [iweight=wgt]- but to no avail.
How can I run weighted chi2 test? Pls help me..
Thanks in advance
Sai San Moon Lu
[Updated on: Thu, 29 March 2018 04:08] Report message to a moderator
|
|
|
|
|