The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Nigeria » Question about coding for the variable SSTATE for Northern Nigeria in 2003,2008. and 2013
Re: Question about coding for the variable SSTATE for Northern Nigeria in 2003,2008. and 2013 [message #6819 is a reply to message #6814] Mon, 20 July 2015 10:24 Go to previous messageGo to previous message
LouiseCW is currently offline  LouiseCW
Messages: 3
Registered: September 2014
Location: London
Member
Hi Daniel,
If I understand you correctly, you can just apply the 'if' command.
tab v149 if v023==11
The above command would give me educational attainment for Kaduna state only. I don't know if Edo is 250 in the IR file, I think it might be 25? (Sorry I don't have Stata/NDHS open right now).
Add the svy prefix of course for surveyset analysis.
You can repeat the command format for any variable to restrict the outputs to one state.
Does that help?
L
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: State-level data
Next Topic: Education in couple's data
Goto Forum:
  


Current Time: Sat Jan 11 18:41:40 Coordinated Universal Time 2025