Skip to content

How to pass priors for hill adstock parameter(halfmax_effective concentration) setting for lightweight MMM? #346

@VVVBhagyaSree186

Description

@VVVBhagyaSree186

Hi, I am trying to set a prior to control the half max effective concentration value for lightweight MMM.. I am trying to do it like this
custom_priors = {"intercept":numpyro.distributions.HalfNormal(scale=2),"hill_adstock":{"_LAG_WEIGHT":
numpyro.distributions.Beta(concentration1=2., concentration0=1.),
"_HALF_MAX_EFFECTIVE_CONCENTRATION":
numpyro.distributions.Gamma(concentration=1., rate=1.),
"_SLOPE":
numpyro.distributions.Gamma(concentration=0.5, rate=2)}} but its throwing an error.. What is the correct way of doing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions