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

Robyn 3.12 fails if all paid media vars are different from paid media spends #1204

Open
ONalivajko opened this issue Jan 14, 2025 · 0 comments

Comments

@ONalivajko
Copy link

ONalivajko commented Jan 14, 2025

Robyn 3.12 fails if all paid media vars are different from paid media spends

Describe issue

The new exposure-based modelling in Robyn 3.12 fails when all paid media vars are different from paid media spends, i.e. each paid media variable has separate spend and exposure data.

Provide reproducible example

I ran the modelling with the demo file, leaving only facebook and paid search variables as they have both spend and exposure

image

Failure happens when Robyn tries to export general plot in the directory (generate one-pagers):

image

Outputs get generated partly (no one-pagers and model-specific files)

image

If at least ONE paid media var is the same as its corresponding paid media spend, the modelling doesn't fail.
That explains why this problem doesn't pop up with the demo file - since only facebook and search have different spend and exposure values whereas for tv, ooh and print the spend values are used as both spend and exposure.

Environment & Robyn version

Robyn version: ['3.12.0.9003']
R version: 4.4.2

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

1 participant