Dear STATA expert,
I am constructing a health economic model utilising the patient-level data. I fit the time-to-event data with different distributions (i.e. exponential, Weibull, log-normal, loglogistic, etc,) and the log-normal distribution turned out to be the best fit. So I need to estimate the survival rate from time 0 to say, time 50 (month) based on this log-normal survival function. I used the 'stcurve, survival' post the 'streg, dist (logn)' command and I can see the curve (whereas I need the numbers underpinning this curve and beyond time 10). But my question is how can I obtain the values? From the survival function for log-normal, I do not know how to reconstruct the survival function with the parameters after streg command (_cons and sigma). Can you please help me with this?
Any advice will be appreciated.
Thanks,
Lan
Array Array
Related Posts with How to estimate the survival function at different timepoints for a log-normal distribution after streg?
Calculating Standard Deviation with RangestatHey all, I have the following problem. I would like to calculate rolling standard deviation of the …
Legend for graphs with marker symbol invisibleHello, I am graphing a twoway dot, with two variables. I can´t seem to find a way to add a legend …
grc1leg; how to control legend text and marker sizeDear listers I would like to use the grc1leg to produce a figure, housing multiple plots but with on…
Working on Nested LoopMy data is stored in a panel data format. I want to estimate the ARDL model that accommodates one st…
Combining observations into oneI´m working on a data which has registered repeated observations because there are some observations…
Subscribe to:
Post Comments (Atom)
0 Response to How to estimate the survival function at different timepoints for a log-normal distribution after streg?
Post a Comment