Plan (objective): quantify how AOV (average order value) changes under four imputation strategies (mean, median, forward-fill, model-based) and determine whether differences materially affect conclusions or actions.Steps:1. Data prep- Identify missingness pattern (MCAR/MAR/MNAR) with rates by customer, product, time.- Split dataset by relevant segments (channel, cohort) to test heterogeneity.2. Impute & compute KPI- Implement four imputation pipelines: - Mean: replace missing AOV components with global mean - Median: use global median (robust to skew) - Forward-fill: per-customer last-observed value (time-series) - Model-based: train predictive model (e.g., gradient boosting) using features (customer, product, time, promotions) to predict missing values- For each method compute AOV and bootstrapped 95% CI across orders and by segment.Example (pseudo-Python):python
# compute AOV per imputation
def compute_aov(df): return df['order_value'].sum()/df['order_id'].nunique()
for method in ['mean','median','ffill','model']:
df_imp = impute(df.copy(), method=method)
aov, ci = bootstrap_aov(df_imp)
3. Compare results- Report absolute and relative differences vs. baseline (e.g., complete-case or mean).- Use paired bootstrap tests to assess statistical significance.- Show distributional differences (histograms, QQ-plots) of imputed values.Visualization & stakeholder presentation- Executive slide: headline table with AOV per method, % change, and whether change exceeds threshold.- Dashboard: interactive selector to view segments; show: - Bar chart of AOV by method with error bars (95% CI) - Tornado/sensitivity plot (methods on y-axis, % impact on AOV) - Time series bands: baseline AOV with shaded regions showing range across imputations - Sample of imputed vs. observed values for model transparency- Include method descriptions, assumptions about missingness, and potential biases.Decision rule / thresholds- Trigger deeper investigation if: - Relative change in AOV > max(5%, historical month-to-month volatility) OR - Change moves a key decision across a business threshold (e.g., from profitable to unprofitable segment), OR - Statistical significance (p < 0.05) combined with practical significance (>5%).- For borderline cases (3–5%), recommend targeted follow-up: examine high-impact segments, validate model imputations, or collect more data.Deliverables- Notebook with reproducible pipelines, metrics, and tests- Dashboard for stakeholders with filters and method documentation- Recommendation memo: chosen imputation for production reporting, caveats, and plan for monitoring.Why this approach- Compares simple robust methods to predictive methods, quantifies uncertainty, surfaces segment-level differences, and ties statistical and business significance to action.