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

Recovering adstock parameters from simulated dataset? #324

Open
NataliaVConnolly opened this issue Jun 24, 2024 · 1 comment
Open

Recovering adstock parameters from simulated dataset? #324

NataliaVConnolly opened this issue Jun 24, 2024 · 1 comment

Comments

@NataliaVConnolly
Copy link

Hi All,

I am trying to reconcile the output from lightweight MMM with known inputs from a simulated dataset. I used https://github.com/facebookexperimental/siMMMulator/blob/main/siMMMulator-website/docs/step_by_step_guide.md to create a simple dataset with 3 media variables and known adstock lambdas of (0.1, 0.2, 0.3). I also applied alpha saturation = (2,2,2), and gamma saturation (0.1, 0.2, 0.3).

When I used lightweight MMM on this dataset, I assumed mmm.trace['lag_weight'] would recover my lambdas. Instead, I am getting these (relatively) very large values:

	channels	       adstock_decay
	clicks_Search	        0.702757
	impressions_TV	        0.717533
	impressions_Facebook	0.719859

Could someone please help me understand why this could be the case, and what I could do to get something closer to the true adstock values?

@8-u8
Copy link

8-u8 commented Jul 24, 2024

@NataliaVConnolly
Hi, I want to reproduce your result. Can you share your LightweightMMM code, notebook or dummy data created by siMMMulator?

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