tcassou / causal_impact

Python package for causal inference using Bayesian structural time-series models.
232 stars 32 forks source link

Summary data #12

Open als429 opened 4 years ago

als429 commented 4 years ago

Hello Thomas,

Is there a way to get the summary data (as with the R package)?

Thank you!

tcassou commented 4 years ago

Hi Alexis, Thanks for asking! I don't know what the R method covers exactly, but I can look into it and see how to reproduce. Unless you have looked into it already? Thomas

als429 commented 4 years ago

Hi Thomas!

I'm mainly interested in these:

I think most of the data is included in the impact summary: https://google.github.io/CausalImpact/CausalImpact.html

Something like a "summary" or "Analysis report {CausalImpact}" would be a really useful enhancement.

Example: print(ci.summary(output='report')) https://nbviewer.jupyter.org/github/dafiti/causalimpact/blob/master/examples/getting_started.ipynb

Thank you!

tcassou commented 4 years ago

Thanks for the pointers! I'll start looking into this asap and will keep this thread up to date.

als429 commented 4 years ago

Thank you! I love your visualizations!