Sir I want to calculated the age of baby from these 4 variables.
please tell how can i calculate age using these 4 variables in stata.
here I am writing an example.
Date of birth- DOB
Time of birth- TOB
Date of admission - DOA
Time of admission -TOA
DOB TOB DOA TOA
here i am also attaching CSV file.
please tell how can i calculate age using these 4 variables in stata.
here I am writing an example.
Date of birth- DOB
Time of birth- TOB
Date of admission - DOA
Time of admission -TOA
DOB TOB DOA TOA
20-NOV-2019 | 15:10 | 23-NOV-2019 | 10:12 |
23-NOV-2019 | 13:10 | 25-NOV-2019 | 21:35 |
26-NOV-2019 | 11:42 | 26-NOV-2019 | 12:40 |
26-NOV-2019 | 11:46 | 26-NOV-2019 | 12:40 |
Comment