Hi all,
I want to plot a usual Kaplan-Meier survival curve. However, my data is of discrete panel structure (as the topic says), causing two problems at the same time.
There are some typical commands like sts for the continuous case, but I do not find or achieve anything useful for my purpose.
Furthermore I would like to customize the length of the x-axis, making sts commands inadequate.
There are some hints on the internet like this:
https://www.stata.com/statalist/arch.../msg00277.html
(but with no application for the discrete case)
or this:
https://www.stata.com/meeting/spain1...te-spain16.pdf
(with slides 37 and 38 being very interesting, but with no application for the panel case)
In detail, I have yearly firm data with a binary variable of unit value if a firm exits the market in the corresponding year, my dependent variable, and I would like to use the cloglog command to estimate survival/hazard rates.
Is there any help out there? :-)
Best regards,
Tim
I want to plot a usual Kaplan-Meier survival curve. However, my data is of discrete panel structure (as the topic says), causing two problems at the same time.
There are some typical commands like sts for the continuous case, but I do not find or achieve anything useful for my purpose.
Furthermore I would like to customize the length of the x-axis, making sts commands inadequate.
There are some hints on the internet like this:
https://www.stata.com/statalist/arch.../msg00277.html
(but with no application for the discrete case)
or this:
https://www.stata.com/meeting/spain1...te-spain16.pdf
(with slides 37 and 38 being very interesting, but with no application for the panel case)
In detail, I have yearly firm data with a binary variable of unit value if a firm exits the market in the corresponding year, my dependent variable, and I would like to use the cloglog command to estimate survival/hazard rates.
Is there any help out there? :-)
Best regards,
Tim
Comment