Dear Users,
I would like to estimate median survival time for a survival model in Stata15. My file has one line per record and 1 failure time. I was using the following approach:
stset surv, id(patid) failure(fail==1) scale(30.4)
sum _t, d
bysort sex: sum _t, d
A colleague has now mentioned that I should be able to use -stci- to achieve the same
stci, by(sex)
The numbers are not the same using -stci- so I am wondering if my original approach is wrong, although I am not fully sure how -stci- is estimating median time.
Thanks for your help,
Laura
Related Posts with median survival time using stci
showing different confidence levels for IRF & positive versus negative shocks (VAR analysis)Hi all I have two basic questions for a VAR analysis: 1- I am estimating a var and plotting the orth…
Data query with odbc: from R to StataHi all! I just got access to a SQL Server, where there is a database storing a number of metrics, t…
Panel graph flightdataI'm using flightdata from origin to destination per year and quarter. I want to make a graph giving …
Why im I getting a positive result with log-linear regression and a negative with linear-linear?Hi! I'm working on a project where I want to see the effect off an aviation tax on total passangers…
Aggregating Data under serveral conditionsHej Statalist, I have a problem, as I want to aggregate my panel data under certrain conditions. I …
Subscribe to:
Post Comments (Atom)
0 Response to median survival time using stci
Post a Comment