The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » SVY command
SVY command [message #10844] Fri, 23 September 2016 11:03 Go to next message
Lorretta is currently offline  Lorretta
Messages: 8
Registered: August 2013
Location: Nigeria
Member
Each time I used svy command for 2013 Nigeria DHS in a regression model, only the odds ratio or coefficients will appear, other columns will be empty with the following "Note: missing standard errors because of stratum with single sampling unit". What could be the problem? I define the svyset as svyset [pw=wt], psu(v021) strata (v022)


Lorretta
Re: SVY command [message #10857 is a reply to message #10844] Mon, 26 September 2016 08:11 Go to previous messageGo to next message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3029
Registered: February 2013
Senior Member
Following is a response from Senior DHS Stata Specialist, Tom Pullum:


Hi Lorretta--This used to be a very annoying problem with Stata, but beginning with Stata 13, as I recall, a "singleunit" option was added to svyset. After "strata (v022)", with a space but not a comma, add any one of the following three specifications:

singleunit(centered)
singleunit(scaled)
singleunit(certainty)

I have tried all of them and there are usually differences, but very small differences, between the three options. I usually use the first one but don't have very good reasons for doing that. Maybe someone else can give a reason for picking one over the others.

Thanks!
Re: SVY command [message #10858 is a reply to message #10857] Mon, 26 September 2016 08:43 Go to previous messageGo to next message
Lorretta is currently offline  Lorretta
Messages: 8
Registered: August 2013
Location: Nigeria
Member
Thanks Bridgette. It worked. I am so grateful.

Lorretta
Re: SVY command [message #16400 is a reply to message #10858] Mon, 07 January 2019 19:02 Go to previous message
Kedir Yimam is currently offline  Kedir Yimam
Messages: 5
Registered: January 2019
Member
Thank You, It worked for me too.

Kedir
Previous Topic: 2015-16 individual Recode dataset for India
Next Topic: Family structure
Goto Forum:
  


Current Time: Tue Apr 16 16:40:43 Coordinated Universal Time 2024