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
Drop base variables from fvexpand listI want to modify the variable list produced by fvexpand, e.g. Code: . webuse nhanes2f, clear . f…
Gravity model, low R2-withinHi all ! I'm running a bilateral trade panel data of 42 reporter with 186 partner for the year 2015…
Using Wald Test for Complex Interaction ModelsDear all: My name is Siyu. I am running a random-effects logit model involving many interaction ter…
Meta-regression with WLS: Wrong sign due to weightingDear Statalist, I'm asking for advice to solve a problem with my meta-regression model based on a W…
Is there no way to include "industry fixed effects" in an FE regression?Dear Stata community, I am running a model of the following form: xtset CompanyID Year, yearly xtr…
Subscribe to:
Post Comments (Atom)
0 Response to Compute intervals between dates
Post a Comment