Time-varying coefficients #231
Replies: 3 comments 1 reply
-
Thanks for reaching out @Oliver131313 Others will be more apt to reply than me. I just wanted to ask if you can share more details of what you have tried? |
Beta Was this translation helpful? Give feedback.
-
Yes, we plan to add time-varying parameters using GPs. Time-line isn't set yet for that. |
Beta Was this translation helpful? Give feedback.
-
I suspect you have already seen this blog post where we do time-varying coefficients with Gaussian random walks. I have not really experimented with more than 2 variables, but I suspect GPs are the better choice given some success stories from PyMC Labs. We definitely want to do it! A good starting point would be to modify the example https://www.pymc-marketing.io/en/stable/notebooks/mmm/mmm_example.html so that in the data generating process we add time-varying coefficients and then you could create a PR with your current approach and we could see if there is a way to make it work :) |
Beta Was this translation helpful? Give feedback.
-
Is there a plan for varying coefficients implementation? If so, do you have a specific timeline?
I don't expect that the implementation is possible to be similar to Orbit so I've tried to implement those on my own using pm.GaussianRandomWalk (or pm.MvGaussianRandomWalk). However, as I have been trying to do so, the model sampling becomes very inefficient or doesn't converge even if I let it run for a very long time with high number of samples - when trying to generate coefficients for 2 or more variables. I am still trying to implement this but it seems impossible with my current knowledge of PyMC.
If you have plans for this feature, would it be possible to share your thoughts on how to do this efficiently in PyMC? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions