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 #12049 is a reply to message #12043] Thu, 23 March 2017 08:59 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:

I don't understand the comparison that you are making. Let's be as specific as possible. In order to test the null hypothesis that knowledge of AIDS is the same across all five-year age groups of men, I use this command:

use e:\DHS\DHS_data\MR_files\NMMR61FL.dta, clear
svyset mv001 [pweight=mv005], strata(mv022)
svy: logit mv751 i.mv013

The output includes this test of the null hypothesis: F( 9, 516) = 4.18 ; Prob > F = 0.0000.

The p-value is less than .0001; knowledge of AIDS differs very significantly across age grou.s. This is an F test, not a chi-square test. I do not believe that there is a valid chi-square test of this null hypothesis that includes the svy adjustment. Please show me the lines you used to get a chi-square and p-value using svyset and svy: tab. Please do it just for this specific example, involving mv751 and mv013. Thanks.
 
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 13:20:50 Coordinated Universal Time 2024