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
Panel data: Identify change in id of respondent for imputation Dear statalist community, I have a panel of around 12,000 individuals and four rounds, where the i…
Sorting panel data with numerous conditionsHi. I am currently working with longitudinal data I have converted to panel data and I now need some…
Is it possible to use itsa for interrupted time series with multiple panels all affected by a policy?Hi, I am running an interrupted time series analysis to assess the impact of a policy on medicine c…
Grouping string values together to create a new variableHi there, I'm very new to Stata and I'm doing some research on regional inequalities in Europe. My …
Help with mlogitHi everyone, I am exploiting a multinomial logit model to study the probability of workers of belong…
Subscribe to:
Post Comments (Atom)
0 Response to Compute intervals between dates
Post a Comment