Open shubhambooking2 opened 2 months ago
Hi @shubhambooking2
Check out this discussion: https://github.com/pymc-labs/pymc-marketing/discussions/1045
There are some limitation based on what distributions you would like be use. However, you can get away with a TruncatedNormal distribution
Hi @shubhambooking2, was that resource any help to you? If not, please let me know and I can try to help you further.
I tried with TruncatedNormal distribution , however my model fails to converge post using truncated normal distribution. Any suggestions to fix this or to achieve the originial need of having prior for a subset of controls as HalfNormal Distribution where as for another set of control variables Normal Distribution.
How does this work with the Prior class implementation? Can I do something like this?
Prior("TruncatedNormal", mu=0, sigma=2, lower=np.array([*np.repeat(0, 2), *np.repeat(-np.inf, 2)]), dims="channels")
Hi Team,
I wanted to understand if there is a way through which i can give different priors to different control variables. For a set of controls i want to have a HalfNormal Distribution where as for another set of control varaibles i need Normal Distribution. At the moment its a bit unclear how can i achieve this.
Similary i want to do it for Adstock parameters where a specific set of media channels have a different adstock prior as compared to other set of the media channel.
Any input for this would be helpful