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
Serial, overlapping and nested hospital transfersHi Clyde I would like to have data that does not have transfers in it and compute length of stay and…
Stata extract year from dateMy data has a date variable, and I want to extract year, month, date information from it: date 03ju…
Identify first time dummy variable = 1 across observations in a panel data setHello! This is my first time asking a question on here, so please excuse me if it is phrased incorre…
Generate new column with specified data based on an existing columnHi, I have dataset with several companies, and their NAICS code. I want to make a new (additional) c…
How to replace long list value by orderHi all. I'm strunggling with replace value. For example, I want to replace "services_rehab_challenge…
Subscribe to:
Post Comments (Atom)
0 Response to median survival time using interval censored data
Post a Comment