MultiCellWinner explores the likelihood of observe a winning cell for a
given Multi-Cell Market Selection. This method analyzes all pairwise comparisons to
determine how much larger the incremental ROAS (iROAS) must be for a cell to be
declared the winner based on a statistical significance test.
Arguments
- multicell_power_obj
A
MultiCellPowerobject.- effect_size
A numeric value representing the lift to be simulated across all cells. If not specified (default), the algorithm will use the largest lift needed to obtain a well-powered test across all cells.
- geolift_type
String that specifies the type of GeoLift test to be performed:
- "standard":
Standard GeoLift test where ads are shown to test regions. Defualt.
- "inverse":
Inverse or Negative GeoLift test where the test group is holded-out from the treatment.
- ROAS
Vector of incremental Return on Ad Spend (iROAS) values to assess. Set to
seq(0,5,0.05)by default.- alpha
Significance Level. By default 0.1.
- method
A string indicating the method used to calculate the aggregate ATT Confidence Intervals.
- "conformal":
Conformal Inference. Defualt.
- "jackknife+":
Jackknife+ (exclusively for stat_test = "Total").
- stat_test
A string indicating the test statistic.
- "Total":
The test statistic is the sum of all treatment effects, i.e. sum(abs(x)). Default.
- "Negative":
One-sided test against positive effects i.e. -sum(x). Recommended for Negative Lift tests.
- "Positive":
One-sided test against negative effects i.e. sum(x). Recommended for Positive Lift tests.
- x
MultiCellWinner()- ...
Optional arguments
Value
A list with two objects:
- "results":
Data frame with all pairwise comparisons and required iROAS needed to declare a winner for the multi-cell test.
- "simulations":
The complete data frame of all simulations for all pairwise comparisons.
Examples
# \donttest{
geo_pre <- GeoDataRead(GeoLift_PreTest, date_id = "date", location_id = "location",
Y_id = "Y", format = "yyyy-mm-dd")
set.seed(1)
markets <- MultiCellMarketSelection(data = geo_pre, k = 2, top_choices = 3, N = 2,
effect_size = c(0, 0.1, 0.2), treatment_periods = 10, cpic = c(7, 7.5),
alpha = 0.1, side_of_test = "one_sided", parallel = FALSE, ns = 100)
markets
#> cell ID location duration EffectSize AvgScaledL2Imbalance
#> 1 1 1 honolulu, indianapolis 10 0.1 0.3083715
#> 2 2 1 detroit, jacksonville 10 0.1 0.3240558
#> 3 1 2 denver, memphis 10 0.1 0.6659785
#> 4 2 2 nashville, san diego 10 0.1 0.4341552
#> 5 1 3 memphis, washington 10 0.1 0.4849799
#> 6 2 3 las vegas, saint paul 10 0.1 0.7694359
#> abs_lift_in_zero Investment ProportionTotal_Y Holdout rank
#> 1 0.001 42224.70 0.03307948 0.9669205 1
#> 2 0.002 40002.00 0.02940561 0.9705944 1
#> 3 0.002 53951.10 0.04433701 0.9556630 2
#> 4 0.003 51087.75 0.03891756 0.9610824 2
#> 5 0.005 48582.10 0.03939854 0.9606015 3
#> 6 0.007 60643.50 0.04571975 0.9542802 3
power <- MultiCellPower(markets, test_markets = list(cell_1 = 1, cell_2 = 1),
effect_size = c(0, 0.1, 0.2), ns = 100)
MultiCellWinner(power, effect_size = 0.1, ROAS = c(1, 2), stat_test = "Positive")
#> No Winners were found. Please change the locations, baseline effect_size, or ROAS sequence to find a Winner.
#> No Winners were found. Please change the locations, baseline effect_size, or ROAS sequence to find a Winner.
# }