facebookincubator / GeoLift

GeoLift is an end-to-end geo-experimental methodology based on Synthetic Control Methods used to measure the true incremental effect (Lift) of ad campaign.
https://facebookincubator.github.io/GeoLift/
MIT License
182 stars 55 forks source link

Plot Error #55

Closed ilaria-giunti closed 2 years ago

ilaria-giunti commented 2 years ago

Hi there, where I try running plot function to find out what the results of the GeoLift() model would look like with the latest possible test period as well as the test’s power curve across all simulations.

I have this error.

Can anybody help me?

plot(MarketSelections, market_ID = 3, print_summary = FALSE) Messaggio di avvertimento: Removed 26 rows containing missing values (geom_smooth).

ArturoEsquerra commented 2 years ago

Hi @ilaria-giunti, thanks for reaching out!

Quick question: was the plot generated despite this warning message?

For a bit of additional context, this particular warning message is usually pretty harmless and is simply pointing out that there might be some conflicts with the limit on the y axis. Nevertheless, since we specifically define the ylim() this shouldn't have any effect on the quality or accurateness of the plot.

ilaria-giunti commented 2 years ago
Schermata 2022-03-25 alle 20 47 27

This is it ;)

What do you think about it?

ArturoEsquerra commented 2 years ago

Thanks for sharing the plot! That is the actual result we wanted to obtain from the plot() function. You can safely ignore those warning messages for now. We will fix the conflict with the y axis in an upcoming release so that users won't get these warning messages anymore!

ilaria-giunti commented 2 years ago

thank you so much!

To use Geolift in other countries (such as EU Countries, Italy, etc.) we can just use a column in the spreadsheet with cities, or regions., cannot we?

Or do you suggest another way? We don't have DMAs

ArturoEsquerra commented 2 years ago

Hi again @ilaria-giunti! You can definitely use GeoLift using different levels of geo-aggregation. The most common ones are city and state-level!