# Vaccine–outcome explorer: shared, pre-specified analysis choices. # Every analytic constant lives here or in pairs/.yaml (which overrides keys of the same name). # Scripts read these values; none are hard-coded. Changing a value changes published results: add a dated note # under `changes` saying what changed and why. version: 1 changes: - "2026-11-26: first version (phase 1: descriptive explorer, COVID-19 and measles pairs)." # ---- country inclusion (rules only; no hand-picking) ------------------------------------------------------- country_inclusion: min_population: 1000000 # mid-period population, from the pair's population source require_complete_weeks_fraction: 0.9 # weekly/monthly pairs: share of expected periods present, in the baseline AND in each window min_years_with_exposure_and_outcome: 10 # annual pairs: years with both a coverage value and an outcome value exclude_list: [] # must stay empty unless a commented justification is added next to an entry drop_aggregates: true # OWID_* and WHO regional rows are never countries # ---- excess-mortality engine (weekly / monthly pairs) ------------------------------------------------------ excess: prediction_interval: 0.95 week53_rule: use_week_52_effect # ISO week 53 takes the seasonal effect of week 52 in every baseline method negative_expected: exclude_country_with_reason # alternatives: fail_build. A baseline that predicts <0 deaths in any # age band and period inside a window removes that country from that # window, with the reason recorded in countries.json period_assignment: period_end_in_window # a week (or month) belongs to the window that contains its last day interval_combination: independent_periods_and_bands # variances add across periods and age bands (an approximation; stated on the page) # ---- standard populations (5-year weights; collapsed to each source's age bands) -------------------------- standard_populations: esp2013: label: European Standard Population 2013 source: "Eurostat (2013), Revision of the European Standard Population, Report of Eurostat's task force, Table 1" weights_per_100000: # 0,1-4,5-9,...,90-94,95+ (as published; 0 and 1-4 are given separately) "0-0": 1000 "1-4": 4000 "5-9": 5500 "10-14": 5500 "15-19": 5500 "20-24": 6000 "25-29": 6000 "30-34": 6500 "35-39": 7000 "40-44": 7000 "45-49": 7000 "50-54": 7000 "55-59": 6500 "60-64": 6000 "65-69": 5500 "70-74": 5000 "75-79": 4000 "80-84": 2500 "85-89": 1500 "90-94": 800 "95-150": 200 who_world: label: WHO World Standard Population (2000–2025) source: "Ahmad OB et al. (2001), Age standardization of rates: a new WHO standard, GPE Discussion Paper 31, Table 4" weights_per_100000: "0-4": 8860 "5-9": 8690 "10-14": 8600 "15-19": 8470 "20-24": 8220 "25-29": 7930 "30-34": 7610 "35-39": 7150 "40-44": 6590 "45-49": 6040 "50-54": 5370 "55-59": 4550 "60-64": 3720 "65-69": 2960 "70-74": 2210 "75-79": 1520 "80-84": 910 "85-89": 440 "90-94": 150 "95-150": 40 # ---- cross-country summaries ------------------------------------------------------------------------------ correlation: method: spearman bootstrap_replicates: 2000 bootstrap_seed: 20261126 interval: 0.95 min_countries: 8 # below this the correlation is not reported (shown as "too few countries") coverage_snapshot: rule: end_of_window # alternative: start_of_window max_carry_forward_days: 120 # a coverage value older than this at the snapshot date counts as missing before_first_report: zero # a snapshot date before a country's first reported value counts as 0 (rollout had not begun); alternative: missing allowed_over_100: [total_vaccinations_per_hundred, total_boosters_per_hundred] # doses per hundred can exceed 100 # ---- output and checks ----------------------------------------------------------------------------------- output: data_dir: data/vaccine_outcomes # relative to the site root; one folder per pair + pairs.json split_country_series_above_bytes: 2000000 float_decimals: 4 causal_words: [caused, causes, causing, prevented, prevents, preventing, "led to", "leads to", "due to vaccination", "because of vaccination", "saved", "averted"] # ---- generic caveats (every pair; each pair adds its own) --------------------------------------------- caveats: - "This is an ecological comparison of countries. Country-level patterns cannot show what happened to vaccinated compared with unvaccinated people." - "Results depend on the time window, the method and the set of countries. The sensitivity panel shows how much the cross-country pattern moves when those choices change." - "Countries differ in age structure, prior infection, healthcare, reporting and many other factors that also move these outcomes."