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?
Advice on Reshaping/Collapsing Data on Resident Stays to a Dataset on Facility OccupancyDear all, I am working with nursing home data, and would greatly appreciate some advice on how to e…
Need help looping over string valuesHello, I want to loop over the values of a string variable to create a Word document titled after e…
save 2sls results in matrixHi statalist, The following code is for my 2sls model. I wanted to store the results into a matrix …
STATA labelling wrong?Hi all, I have a ordinal variable with 4 levels, when I upload my data, STATA recognizes it as a st…
OT: ASA President’s Task Force Statement on Statistical Significance and Replicability (1-Aug-2021)This may interest some members, especially anyone who is subscribed to this recent thread. https://…
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