The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » using svy command and getting out p-values
Re: using svy command and getting out p-values [message #12051 is a reply to message #12050] Thu, 23 March 2017 10:01 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3043
Registered: February 2013
Senior Member
Following is a response from Senior DHS Stata Specialist, Tom Pullum:

You cannot "merge" the IR and MR files. You "append" those files. Your line "svyset [pw=wgt1], psu (v001) strata (v023)" will not run. The correct syntax would be "svyset v001 [pw=wgt1], strata (v023)". Your commands should not include the option "missing". What you are calling "missing" cases are actually "not applicable" cases and they are not relevant.

The "uncorrected chi2" value ignores the svyset adjustment. You could get that from a simple "tab a b, chi2" command. The "Design based" model cannot produce a chi-square statistic (neither the Pearson nor the maximum likelihood versions of chi-square), as I said in my previous response. It produces an F statistic from a logit regression (either binary logit or a multinomial logit, depending on the number of categories), in which the svyset adjustment is possible. The p-value from F has the same interpretation that a p-value from a maximum likelihood chi-square would have, if such a chi-square could be calculated.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Specification of Stata 'gllamm' command
Next Topic: trend analysis with svy comand
Goto Forum:
  


Current Time: Sun Apr 28 01:12:27 Coordinated Universal Time 2024