Hi,
I was wondering whether there is a way in Stata to find the expected survival time instead of probability of survival?
Here is my specific case. In the following sample survival is staying with the organization. I have data on whether the person was with the organization in the end of 2013, 2014, 2015, and 2016. The missing values show the person was not with the organization at the end of that year. They either were not hired yet or left the organization. I have tenure in the organization, whether the person turned over, and their composite performance (overall performance over time in the organization).
I really appreciate your help.
I was wondering whether there is a way in Stata to find the expected survival time instead of probability of survival?
Here is my specific case. In the following sample survival is staying with the organization. I have data on whether the person was with the organization in the end of 2013, 2014, 2015, and 2016. The missing values show the person was not with the organization at the end of that year. They either were not hired yet or left the organization. I have tenure in the organization, whether the person turned over, and their composite performance (overall performance over time in the organization).
I really appreciate your help.
Code:
input int age int retention_2013 int retention_2014 int retention_2015 int retention_2016 float composite_performance int tenure int turnover age retention_2013 retention_2014 retention_2015 retention_2016 composite_performance tenure turnover 35 1 1 . . 0.32 5 1 44 . 1 1 1 0.80 4 0 35 . 1 . . -0.42 2 1 41 . 1 1 . -0.392 3 1 43 . . . 1 -0.9 5 0 73 1 1 1 1 -0.89 6 0 60 . . . 1 -0.94 5 0 42 1 . . . 0.153 4 1 end
Comment