Hi all,
I am trying to solve the following issue: I have a data set with a date, say date1, at which a certain procedure was done for each individual. I also have a variable for age of these individuals at date1. Is there a command which would allow me to create a birth date as a difference between date1 and age at date1? I'm only familiar with the opposite commands for calculating age from date durations etc.
The dates are given in a Stata date "dmy" format, the age is calculated in years.
Thank you!
I am trying to solve the following issue: I have a data set with a date, say date1, at which a certain procedure was done for each individual. I also have a variable for age of these individuals at date1. Is there a command which would allow me to create a birth date as a difference between date1 and age at date1? I'm only familiar with the opposite commands for calculating age from date durations etc.
The dates are given in a Stata date "dmy" format, the age is calculated in years.
Thank you!
Comment