I am trying to do survival analysis on 2018 Nigeria Demographic and Health Survey Data.
The data has 33,924 observations, but after I expanded it to capture every month a child lived before death or censoring it got to 934,141 observations.
From what I understand from texts, 'sts list' and 'ltable t dead, noadjust' commands should give the same output.
But I'm getting different outputs:
'sts list' used 33,924 as its beginning total and at the end of the 60-month period, there are 88.28 percent children still alive, which looks about right. While,
'ltable t dead, noadjust' used 934,141 as its beginning total and at the end of the 60-month period, there are 99.39 children still alive.
Please, I want to understand what could be wrong, since both outputs should be the same.
What did I do wrong please?
Below is the dataex output
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input float(t pid study_time) byte died float dead 1 1 13 0 0 2 1 13 0 0 3 1 13 0 0 4 1 13 0 0 5 1 13 0 0 6 1 13 0 0 7 1 13 0 0 8 1 13 0 0 9 1 13 0 0 10 1 13 0 0 11 1 13 0 0 12 1 13 0 0 13 1 13 0 0 1 2 9 0 0 2 2 9 0 0 3 2 9 0 0 4 2 9 0 0 5 2 9 0 0 6 2 9 0 0 7 2 9 0 0 8 2 9 0 0 9 2 9 0 0 1 3 17 0 0 2 3 17 0 0 3 3 17 0 0 4 3 17 0 0 5 3 17 0 0 6 3 17 0 0 7 3 17 0 0 8 3 17 0 0 9 3 17 0 0 10 3 17 0 0 11 3 17 0 0 12 3 17 0 0 13 3 17 0 0 14 3 17 0 0 15 3 17 0 0 16 3 17 0 0 17 3 17 0 0 1 4 31 0 0 2 4 31 0 0 3 4 31 0 0 4 4 31 0 0 5 4 31 0 0 6 4 31 0 0 7 4 31 0 0 8 4 31 0 0 9 4 31 0 0 10 4 31 0 0 11 4 31 0 0 12 4 31 0 0 13 4 31 0 0 14 4 31 0 0 15 4 31 0 0 16 4 31 0 0 17 4 31 0 0 18 4 31 0 0 19 4 31 0 0 20 4 31 0 0 21 4 31 0 0 22 4 31 0 0 23 4 31 0 0 24 4 31 0 0 25 4 31 0 0 26 4 31 0 0 27 4 31 0 0 28 4 31 0 0 29 4 31 0 0 30 4 31 0 0 31 4 31 0 0 1 5 39 0 0 2 5 39 0 0 3 5 39 0 0 4 5 39 0 0 5 5 39 0 0 6 5 39 0 0 7 5 39 0 0 8 5 39 0 0 9 5 39 0 0 10 5 39 0 0 11 5 39 0 0 12 5 39 0 0 13 5 39 0 0 14 5 39 0 0 15 5 39 0 0 16 5 39 0 0 17 5 39 0 0 18 5 39 0 0 19 5 39 0 0 20 5 39 0 0 21 5 39 0 0 22 5 39 0 0 23 5 39 0 0 24 5 39 0 0 25 5 39 0 0 26 5 39 0 0 27 5 39 0 0 28 5 39 0 0 29 5 39 0 0 30 5 39 0 0 end
Thank you for your help.
0 Response to Survival Analysis - different outputs
Post a Comment