{
 "round": "r1",
 "question": "How far does the naive read of a retailer's promotion campaign (spend of households that received it against those that did not) overstate what the campaign caused, which reads without a designed holdout come close, and where should the next campaign's mail go?",
 "data": {
  "source": "84.51 Complete Journey 2.0, as published in the completejourney package",
  "licence": "CC0",
  "repo": "bradleyboehmke/completejourney",
  "commit": "5b5d06192b9856edd04e4d405787af2f2e4a1fef",
  "files": {
   "transactions.rds": "1fa0700033f1e5d9bb6b09e2be063d8d68474d346e95c50f2833e09d083e0007",
   "campaigns.rda": "33c7b3dc1bc722d465f97416fb1327c6a9a640190e464c73e354bce8c001a772",
   "campaign_descriptions.rda": "601bd17ea1a6de92cc288f393164813fbaf293b997d44054dcf1f3ebbe8dacee",
   "coupon_redemptions.rda": "4b68148175ed19300bb2615d68d1a0300a5f971db3240819ab5d92e5919e1598"
  },
  "spend_field": "sales_value",
  "visit": "distinct basket_id",
  "week_field": "week"
 },
 "reads": {
  "main": {"campaign": "8", "pre_weeks": [2, 19], "window_weeks": [20, 26],
           "match_feature_halves": [[2, 10], [11, 19]],
           "treated": "listed for the campaign",
           "comparison": "not listed for the campaign and not listed for any campaign whose dates overlap the window",
           "exclude_treated_listed_for": [], "exclude_comparison_listed_for": []},
  "placebo": {"campaign": "8", "pre_weeks": [2, 11], "window_weeks": [12, 18],
              "match_feature_halves": [[2, 6], [7, 11]],
              "treated": "listed for campaign 8",
              "comparison": "not listed for campaign 8 and not listed for any campaign overlapping weeks 20 to 26",
              "drop_listed_for_any_campaign_overlapping_weeks": [2, 18]},
  "second": {"campaign": "13", "pre_weeks": [2, 32], "window_weeks": [33, 39],
             "match_feature_halves": [[2, 17], [18, 32]],
             "treated": "listed for campaign 13 and not for campaigns 8 or 27",
             "comparison": "not listed for campaigns 8, 13 or 27 and not for any campaign overlapping the window",
             "exclude_treated_listed_for": ["8", "27"], "exclude_comparison_listed_for": ["8", "27"]}
 },
 "eligibility": "at least one visit in the read's pre-period weeks",
 "outcome": "mean spend per household per week over the window, weeks without a visit counted as zero",
 "estimators": ["naive", "matching", "did", "matched_did", "synthetic_control"],
 "matching": {"k": 5, "replacement": true, "distance": "Mahalanobis on the pooled covariance of the four features",
              "features": ["mean weekly spend, first half of pre-period", "mean weekly spend, second half",
                           "mean weekly visits, first half", "mean weekly visits, second half"]},
 "synthetic_control": {"donor_groups": 40, "grouping": "comparison pool split into equal-count groups by pre-period mean weekly spend",
                       "weights": "non-negative, sum to one, least squares over pre-period weeks"},
 "bootstrap": {"replicates": 1000, "replicates_synthetic_control": 500, "seed": 20171,
               "scheme": "households resampled with replacement, treated and comparison separately, every estimator re-run", "interval": "95% percentile"},
 "pre_trend": {"statistic": "least-squares slope per week of the weekly treated-minus-comparison mean spend gap over the pre-period", "for": ["did", "matched_did"]},
 "tiers": {"read": "main", "count": 5, "by": "treated households' pre-period mean weekly spend, equal-count", "estimators": ["naive", "matched_did"],
           "curve_order": "highest pre-spend tier first"},
 "call": {"ship": "whole 95% interval of incremental margin per household above the mail cost",
          "stop": "whole 95% interval below the mail cost",
          "keep_testing": "otherwise; report households per group needed at the observed spread"},
 "readout_method_rule": "among did and matched_did, the one whose placebo interval and pre-trend slope interval both cover zero; if both pass, matched_did; if neither, no read without a holdout is recommended",
 "weeks_per_campaign": 7
}
