The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Mortality » What Should be Used "And (&)" "or "OR (|)
Re: What Should be Used "And (&)" "or "OR (|) [message #20496 is a reply to message #20388] Thu, 12 November 2020 09:11 Go to previous messageGo to previous message
Shireen-DHS is currently offline  Shireen-DHS
Messages: 140
Registered: August 2020
Location: USA
Senior Member
Dear Dr. Hussain,

Based on your description of your population of interest it seems you should be using & which is AND not OR. However, I am not sure why you would need to exclude birth that occurred in the month of the interview using v210. I cannot comment on your model or your analysis.

For the age/period question, this comes from the RH_age_period.do file on our GitHub site: https://github.com/DHSProgram/DHS-Indicators-Stata/tree/mast er/Chap09_RH

Age is the age of the child and period here is defined as the last five years before the survey. For some indicators the estimate is reported in the last 3 years or last 2 years (check the final report for your indicator of interest) so we create the variable period so the user can only change it one time.

So for BR files it is:
gen age = v008 - b3
*if you have b19 in the file you need to use that for age instead so age would be : age=b19
*only recent surveys have b19
gen period = 60
* 60 is 5 years in months

Thank you.

Best,
Shireen Assaf
The DHS Program
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Comparison Between Birth weight Variable m19 & m18
Next Topic: Age of Mother at Time of Most Recent Birth
Goto Forum:
  


Current Time: Tue Jul 9 21:51:00 Coordinated Universal Time 2024