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
Business calender: Get omitted dates using bodf()I have a list of dates for specific company events of listed US companies. This variable (reguldate)…
How to evaluate the following hypothesizes?Hello all! I am currently working on a research project and I have a dataset of bankrupt and non-ba…
How to set the X axis in the DASP package in stataI want to use the DASP plug-in in stata and use the Lorenz curve to analyze the fairness of inter-pr…
putdocx cell / row heightIs there a way to control the row or cell height in a putdocx table? …
Optimal lags and Error-correction modelGood morning everyone; I want to perform a cointegration with the Error correction model. Everythi…
Subscribe to:
Post Comments (Atom)
0 Response to Compute intervals between dates
Post a Comment