The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » Weighted Chi2 (STATA)
Weighted Chi2 (STATA) [message #14370] Thu, 29 March 2018 04:06 Go to previous message
Sai San Moon Lu is currently offline  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

 
Read Message
Read Message
Read Message
Previous Topic: Correct Way to Do Sample Weighting for Cross-Sectional Pooled Data from Kenya
Next Topic: Variable for weighting
Goto Forum:
  


Current Time: Wed Apr 24 14:17:45 Coordinated Universal Time 2024