Open CYW0018 opened 8 months ago
I also think there is something off with the p-value, as I'm seeing constant 100% confidence level.
I am seeing the same problem as @mare011rs : p_value = 0, Prob of causal effect 100% even when I explicitly synthesize data to have zero effect. This seems to be a rather big bug.
This package is outdated, I suggest you use tfcausalimpact.
Got it. Thanks!
I'm not sure whether there is an error in the calculation of p_value of the code. As the following figure shows, the p_value is calculated by the mean value of the synthetic control group's predictor rather than the point effect value. I guess you may be want to use the latter?
Another evidence is that when I use the example from https://colab.research.google.com/drive/1HkJ9zm0LY36Wz-wB_bSHq68w8Cef6qJO?usp=sharing#scrollTo=AqyItZ3Hggoh, even if I don't change the value of y after 3000, the p-value is still significant and inconsistent with the confidence interval given(including zero)