Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIPW for survival analysis ? #148

Open
JUNGYO opened this issue Oct 7, 2020 · 1 comment
Open

AIPW for survival analysis ? #148

JUNGYO opened this issue Oct 7, 2020 · 1 comment

Comments

@JUNGYO
Copy link

JUNGYO commented Oct 7, 2020

Theoretical background of AIPTW is interesting, but can I use this "weight" for survival analysis? (like, Cox regression)
Sorry for my lack of understanding on statistics.

@JUNGYO JUNGYO changed the title a AIPW for survival analysis ? Oct 7, 2020
@pzivich
Copy link
Owner

pzivich commented Oct 7, 2020

Unfortunately the implemented AIPW is not ready for survival data. Briefly, AIPW works by combining the IPW with the predicted outcomes values (from g-computation). The formula that combines the two leads to all the wonderful AIPW properties. So right now, AIPTW takes exposures and outcomes as input. There is no option to keep track of time, so it won't work as expected for survival data.

While not yet implemented, Longitudinal AIPW and Longitudinal TMLE (this is in the works but I have't worked on it recently) could technically be applied to this problem. You would divide the survival data into equally-sized checks of time, then use those algorithms. This is common practice for time-varying confounding. But like I said, these are not yet implemented but are on the short list.

However, you can use SurvivalGFormula to compare with your IPW results. HERE are some reference documentations. While AIPW doesn't exist a comparison between the IPW and g-formula results would help to catch obvious instances of model misspecification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants