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

Add time-varying RD/RR plots #8

Closed
pzivich opened this issue Jul 4, 2018 · 1 comment
Closed

Add time-varying RD/RR plots #8

pzivich opened this issue Jul 4, 2018 · 1 comment
Assignees

Comments

@pzivich
Copy link
Owner

pzivich commented Jul 4, 2018

Reminder to create time-varying Risk Difference / Risk Ratio plots in the vein of Table 3 in
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4325676/ as recommended by
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4325680/

Inputs should be two pandas Series for the risks indexed by time (like lifelines fitted Kaplan Meier 1 - km.surivival_function_. Duplicated risks should be dropped, Series merged by index (time), forward filled, then plotted. Include as part of 0.1.4

Issues to consider: confidence intervals (if IP-weighted would need to be bootstrapped), scale options (like effectmeasureplot), LOWESS curve options (like functionalform).

@pzivich pzivich self-assigned this Jul 4, 2018
@pzivich
Copy link
Owner Author

pzivich commented Jul 10, 2018

Added in v0.1.5

@pzivich pzivich closed this as completed Jul 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant