Closed BernFox closed 6 years ago
yeah, i only got halfway through this. There's still a lot of work to make it useable but I haven't had time to work on it for a while.
Is there a known workaround to getting this to work so that we can play with the existing functionality of the library?
Not really, the last I left it I was starting to use the new functionality for state space models in statsmodels, but that hasn't made its way into the stable release yet I don't think. Without the modelling part there's not much we can do with it. I might try and take a look to see how much work is needed to get something useable.
On 15 December 2016 at 23:35, Abi Komma notifications@github.com wrote:
Is there a known workaround to getting this to work so that we can play with the existing functionality of the library?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jamalsenouci/causalimpact/issues/1#issuecomment-267476329, or mute the thread https://github.com/notifications/unsubscribe-auth/AFLqDEbxdbu_4nwgYr7G-IHeKG19grPiks5rIc62gaJpZM4LG0Yr .
I got the same error, and tried to fix it, but gave up :)
Hi @jamalsenouci ¿Is this library still under development ? or it's an abandoned project? thanks! :)
@haydenliu and @jamalsenouci: See this library https://github.com/tcassou/causal_impact. Maybe it has come further.
I picked up development on this, there is something that works at the moment but only works with maximum likelihood estimation and still needs a lot of testing
Oh cool! Thanks for following up. I did however build my own solution to this kind of problem. Check it out: https://medium.com/refinery29-pe/seo-a-b-testing-with-predictive-analysis-68c399d231b5
When I import causalimpact, as such
import causalimpact
I get this error
I looked at the source code and found that identity is a default arg for
compile_posterior_inferences
, but identity doesn't exist. I looked elsewhere in the code to see if identity is referenced elsewhere to see if I could fix it myself, and found that theres this:orig_std_params = np.identity
on line 243 of analysis.py, but np.identity is a function that returns the identity matrix. It it assigned to the variable orig_std_params without actually giving np.identity an argument. The orig_std_params variable is then reassigned to some other value. So I couldn't make sense of how to fix the code. Also,compile_na_inferences
in inferences.py doesn't do anything, seems wrong because the function is used elsewhere in the package.So I don't know how to use the package as such....