[Question] Is there any way to pool Kaplan-Meier curves (including surv. probability and getting their CIs)? #546
Replies: 3 comments
-
Migrated because this is more of a methodology question. |
Beta Was this translation helpful? Give feedback.
-
I never tried this, but perhaps the following resources help: https://www.pharmasug.org/proceedings/2017/SP/PharmaSUG-2017-SP05.pdf |
Beta Was this translation helpful? Give feedback.
-
Thank you very much, @stefvanbuuren! I implemented the SAS code. It's a pity I cannot easily validate, but the results seem sensible. Well, at least "more/less" comparable.
And also found this: https://bmcmedresmethodol.biomedcentral.com/articles/10.1186/s12874-015-0048-4 but the implementation (with (1-surv)) gives different results. Oh geee...
|
Beta Was this translation helpful? Give feedback.
-
Dear Authors of mice.
I have a big imputed dataset of many variables. Some of them are used to derive a compound endpoint, let's call it "success of therapy". Now I want to plot the curves the cumulative probability of the success (= just 1-Kaplan-Meier survival) for two treatments, surrounded by their pointwise CIs.
The problem is I have several imputed datasets. Pooling works out of the box with Cox, but I want assumption-free estimator across 2 groups, the Kaplan-Meier.
Let's assume this trivial example. TIt has no gaps in survival or the used predictor - for the sake simplicity in this example. I want to see, if multiply generated the same dataset will give - after pooling - the same results as the raw approach.
Of course my REAL data will have some gaps. After the imputation the status will vary a bit between the samples. Times will be always the same.
So this my exemplary data. Not much meaningful, but suffices:
Should it be something like this?
which agrees with the result from complete data:
The negatives come from the normal approximation. I'll try to transform it later.
I tried also the "veteran" dataset.
Good! They agree being are the same datasetes. Just wanted to check if the construction is correct, so when will pass truly different imputed datasets it should work too.
There is a minor rounding issue at upper CI or it was truncated by the survfit summary equally at 1.
I tried also the log-log to avoid these artefacts:
Perfect agreement.
But isn't it too simple, too naive? Would you accept such solution? For pooling with Rubin's rules, we assume approximate normality, and I heard the complementary log-log transformation should be applied to the survival probability. This is not the same as the log-log method of obtaining CIs for the survival probability used in survdif(), but related - it's the "mirror". What's your opinion on cloglog vs. log-log?
PS: If so, maybe you might consider adding pooling for KM estimates just to shorten the calculations and minimize the risk of errors/typos?
Beta Was this translation helpful? Give feedback.
All reactions