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

find the respont and point.pred #89

Open
aazz7777 opened this issue Apr 1, 2024 · 2 comments
Open

find the respont and point.pred #89

aazz7777 opened this issue Apr 1, 2024 · 2 comments

Comments

@aazz7777
Copy link

aazz7777 commented Apr 1, 2024

I'm trying to find dw score and mape value

In R
preperiod <- subset(impact$series, cum.effect == 0)
Looks like
impact$series ioutput return all the outout where cum.effect is 0.

I want to get the value that refer in R. what would be the python using inference?
This respoinse and point.pred value
preperiod$res <- preperiod$response - preperiod$point.pred

is it possible to know Which one is equivalent to point prediction ?

Thank you in advance!

@WillianFuks
Copy link
Owner

Hi @aazz7777 ,

Not sure if I understood correctly your question but if your looking for the equivalents of response and point.pred it think they would be ci.post_data[:, 0] and ci.complete_preds_means (where date < pre_period).

@aazz7777
Copy link
Author

thank you! yes I wanted to extract point.pred which is average prediction value! preperiod$response was just y value for preintervention period!

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