I am trying to compute inter-pregnancy intervals (in months) and have the variables to compute this interval between two dates. However, the "day of birth" variable is missing. Dataset only has (mm) and years (yy). My goal: To calculate the pregnancy interval between most recent birth and previous live birth in months.
The numeric variables are listed below;
Most recent birth
1. Month of most recent birth (mm_dob)
2. Year of most recent birth (yy4_dob)
Previous live birth
3. Month of last live birth (mm_llb)
4. Year of last live birth (yy4_llb)
I will be most grateful for your help.
Related Posts with Compute intervals between dates
Losing observations after predictDear all, I am running a multilevel model with over 40.000 observations, but when I use the command…
Identifying Total Amount for Closest Contributing Year to the Fiscal YearHi all, I have a sample data that shows the donation amount of a contributor. It is a combination o…
Selection by zone and rank Hi, I want to select 10 districts out of 24 districts by zone and a rank variable. There are 5 zon…
SUR modelsHi.. i am trying to run "sureg" for my analysis .. as i have variables which are correlated .. can s…
Xtreg output: standard errorDear Statalists, I have a basic question for which I can't find an anwer. I am using the Monte Car…
Subscribe to:
Post Comments (Atom)
0 Response to Compute intervals between dates
Post a Comment