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 #11999 is a reply to message #11992] Fri, 17 March 2017 08:10 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 approached this in a different but equivalent way, using logit regression. I find this:

Women by age group: p= 0.2626, not significant
Women by residence: p=.0002, very significant
Men by age group: p=.0000, very significant
Men by residence: p=.8207, not significant

In terms of statistical significance, the results are different for men and women. However, the substantive implications are really the same for men and women--namely, knowledge is extremely high for all the groups of men and all the groups of women.

Here is how I did this (you must change the paths):

use e:\DHS\DHS_data\IR_files\NMIR61FL.dta, clear
svyset v001 [pweight=v005], strata(v022)

tab v013 v751 [iweight=v005/1000000], row
svy: logit v751 i.v013
svy: logit v751 i.v025


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

tab mv013 mv751 [iweight=mv005/1000000], row
svy: logit mv751 i.mv013
svy: logit mv751 i.mv025
 
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: Sat Apr 27 21:57:33 Coordinated Universal Time 2024