Hi statalisters,
I'm looking to estimate the median survival time (plus IQR) overall for my interval censored data. I believe I cannot do this the same way I would using stsum due to the specification of the two points. I have found the following example to work from for mean time -
stintreg VAR, interval(int1 int2) distribution(X)
predict time, median time
tabulate VAR, summarize(time) means freq
This code, however, calculates different times based on variable VAR, but I want it overall for my data.
How might I go about adjusting this to get what I want?
Thanks so much,
Alison
Related Posts with median survival time using interval censored data
Question about using if flag + tab togetherHi all, I am trying to create a Table 1 using Medicare claims to compare demographics among people …
Finding the sum of a variable within an ID is not workingHi all, For the following example data set below, I am trying to create a new variable (let's call …
How toI have quite a simple problem. But STATA is new to me. my code is : y age gender: egen UIdur_mean …
plotI have quite a simple problem. But STATA is new to me. my code is : y age gender: egen UIdur_mean …
Problem with dummy variable in PMG modelHello, I'm running PMG model with one dummy veritable of (0 or 1) (xtpmg d.y d.x1 d.x2 d.x3 d.x4 DU…
Subscribe to:
Post Comments (Atom)
0 Response to median survival time using interval censored data
Post a Comment