The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Biomarkers » Recode the v133 variable(number of years of education) as a time varying covariate
Recode the v133 variable(number of years of education) as a time varying covariate [message #24364] Mon, 02 May 2022 06:39 Go to previous message
Guersch-Mug is currently offline  Guersch-Mug
Messages: 1
Registered: May 2022
Member
I transformed the DHS data into a long format (person-periods). I want to recode the variable "number of years of education ("v133") into a time-varying variable.
I want to get the number of years of education attained at each age from the age of 10. The variable varies over time (increases by one year each year) for women who are still in school from ten years old and becomes constant from the age of leaving school (corresponding to each remaining year to the number of years of education attained at the age of leaving school) until the age of marriage or up to the age reached on the survey date if the woman is not yet married at the time of the survey.
To do this, I look for the variable "last year of school attendance" or year of graduation or year of highest degree to make it easier, but I cannot find the variable. Can anyone tell me how to do this?

[Updated on: Mon, 02 May 2022 11:35]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: Date of Interview (Biomarker)
Next Topic: Child overweight and obesity (HC 72) from DHS Sierra Leone 2019
Goto Forum:
  


Current Time: Mon May 20 02:29:44 Coordinated Universal Time 2024