google / google/CausalImpact

Different families of distributions - custom bsts

Open
#46 1 comment 4 reactions 0 assignees View on GitHub
Dominant language
R
Stars
1.9k
Forks
264
PR merge metrics
No merged PRs in 30d

Description

I have tried to use a custom model, but I have noticed that this package seems to work with "gaussian" and "student" families (from the bsts package), but not with the "logit" and "poisson" families (which are supported by bsts).

I think adding support for these families would be useful.

Another alternative, probably easier to implement (but probably suboptimal), would be to add support for variable transformations and backtrasformations.

https://robjhyndman.com/hyndsight/forecasting-within-limits/
https://robjhyndman.com/hyndsight/backtransforming/

I think the poisson family is particularly important since it is very common to deal with count data.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.