Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reach and Frequency in National Level Model #396

Open
annie-gulati opened this issue Dec 13, 2024 · 1 comment
Open

Reach and Frequency in National Level Model #396

annie-gulati opened this issue Dec 13, 2024 · 1 comment

Comments

@annie-gulati
Copy link
Collaborator

For R&F (Reach and Frequency), we are trying to include in National level model but we are getting extreme large value (in millions) of R-hat.

Attached is the snippet that we implemented in our code.

Image
@dattatreyam23
Copy link
Collaborator

Hi @annie-gulati ,

Thank you for reaching out to the Google Meridian support team.

I went through the code snippet you have provided, and it appears to be correct. Large R-hat values indicate that the model is having difficulty achieving convergence. If you haven't already, please review our documentation on achieving MCMC convergence, which can be found at Getting MCMC convergence.

Additionally, knowing if all parameters, or just one or two, have extremely large R-hat values would be helpful for diagnosis. For example, if the tau_t parameter has a large R-hat value, you should consider modifying the knots parameter. Also, does the model converge when using impressions instead of reach and frequency?

If the issue still persists, please provide a few more details on your dataset: (1) number of channels included; (2) whether the data is weekly or daily, etc. This will help us figure out the exact point of error.

Feel free to reach out if you have any further questions.

Thanks,
Google Meridian Support Team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants