The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » General » Education- Stata
Education- Stata [message #2629] Mon, 28 July 2014 03:54 Go to next message
smileyc
Messages: 14
Registered: June 2014
Member
Hello,

I just want to seek your advice on how can I generate variable on mother and father's years of schooling among 15-24 years of age.
I wonder if It is possible to get the variable using any of the following women's recode, male recode, children's recode, and hh member recode.

Appreciate your response.
Thank you

[Updated on: Mon, 28 July 2014 18:46]

Report message to a moderator

Re: Education- Stata [message #2657 is a reply to message #2629] Fri, 01 August 2014 16:34 Go to previous messageGo to next message
Liz-DHS
Messages: 1516
Registered: February 2013
Senior Member
Dear User,
Level of education for women and men in the individual questionnaire (V106, MV106). Education variables are often used as background characteristics in many of our tables in our final reports. There are educations variables in the household, women, and men files. You may want to take a look at some of our tools such as The Guide to DHS Statistics http://dhsprogram.com/publications/publication-dhsg1-dhs-que stionnaires-and-manuals.cfm, The Standard Recode Manual http://dhsprogram.com/pubs/pdf/DHSG4/Recode6_DHS_22March2013 _DHSG4.pdf and the section on "Using datasets for analysis" on our website http://dhsprogram.com/data/Using-Datasets-for-Analysis.cfm. Thank you for your post.
Re: Education- Stata [message #3185 is a reply to message #2629] Sun, 02 November 2014 18:28 Go to previous message
tom.m
Messages: 2
Registered: November 2014
Member
Hello,

If you are using Stata try this with the household member recode file:

First reshape it long and then use the following code:

bysort hhid (hvidx): gen edmot = hv109[hv112]
bysort hhid (hvidx): gen edfat = hv109[hv114]

Best,

T
Previous Topic: Missing data
Next Topic: Benin District / Commune id?
Goto Forum:
  


Current Time: Thu Mar 28 20:20:42 Coordinated Universal Time 2024