Research idea
Identify a business problem: how might UK household spending affect retail demand?
Data analysis · Statistics · Forecasting · Visualisation
Level 4 | Practical Excel learning journey
Start with a business problem, not a chart. Every analytical decision should connect to a research question and a practical management outcome.
Identify a business problem: how might UK household spending affect retail demand?
Define the outcome, explanatory indicators, period and intended decision.
Collect ONS and World Bank indicators; record source, units and frequency.
Check missing values, duplicates, dates, definitions and comparable units.
Choose descriptive, diagnostic, predictive or prescriptive methods.
Calculate statistics, explore relationships and test forecasts.
Present patterns, uncertainty and alternative explanations.
Recommend actions, monitor results and revise assumptions.
| Component | Example |
|---|---|
| Research title | UK household consumption and retail performance, 1990–2024 |
| Research question | How has household consumption growth changed, and how is it associated with GDP growth? |
| Objectives | Describe historical performance; investigate associations; compare forecasts. |
| Outcome / predictors | Consumption growth / GDP growth, CPI inflation, unemployment, Bank Rate |
| Data structure | Annual UK time series; 35 complete years for the core indicators |
| Decision | Use economic evidence to inform inventory and promotion scenarios. |
Four complementary questions connect evidence to action.
| Characteristics | Descriptive | Diagnostic / explanatory | Predictive | Prescriptive |
|---|---|---|---|---|
| Key question | What happened? | Why might it have happened? | What is likely to happen? | What should we do? |
| Main purpose | Understand historical performance | Explore relationships and influencing factors | Forecast future outcomes | Recommend feasible decisions |
| Practical task | Calculate historical averages and standard deviations | Investigate economic changes and relationships | Forecast economic and retail performance | Recommend strategies based on forecasts and uncertainty |
| Data characteristics | Historical, observed | Historical, multivariable, contextual | Historical, sequential or predictive features | Historical, forecasted, simulated |
| Suitable data | Cross-sectional, time-series, panel | Cross-sectional, time-series, panel | Time-series, panel; cross-sectional for individual prediction | Time-series, panel, experimental, simulated |
| Annual planning guide | 5–10 years | 20–30+ years | 30–50+ years | 20–50+ years for empirical macro calibration |
| Quarterly planning guide | 12–40 | 60–120+ | 80–160+ | 60–160+ for calibration |
| Monthly planning guide | 12–60 | 60–120+ | 120–240+ | 120–240+ for calibration |
| Example annual span | 2015–2025 (11) | 1990–2025 (36) | 1970–2025 (56) | 1980–2025 (46) |
| Variables | Single or multiple indicators | Outcome, predictors, controls | Target, predictors, lags | Decision variables, parameters, objectives, constraints |
| Frequency | Annual to daily | Consistent across variables | Regular for time-series methods | Depends on model |
| Quality | Accuracy, completeness, consistency | Comparability and relevant predictors | Stable or modelled changing patterns; validation | Reliable parameters, realistic constraints |
| Core techniques | Mean, median, SD, growth rates | Correlation, regression, hypothesis tests | Naïve, moving average, linear forecast | Scenario comparison, optimisation |
| Advanced reference | Trend and distribution analysis | OLS, ARDL, cointegration, fixed/random effects, causal inference | ARIMA, SARIMA, VAR, VECM, Bayesian models, machine learning | Monte Carlo, DSGE, structural macro models, policy simulations |
| Software | Excel, Power BI, pandas | Excel ToolPak, SPSS, R, statsmodels | Excel, Python statsmodels, R | Excel Solver, Python SciPy, simulation tools |
| UK example | Average consumption growth | GDP–consumption association | Forecast consumption growth | Adjust inventory under demand scenarios |
| Aspect | Descriptive statistics | Inferential statistics |
|---|---|---|
| Purpose | Summarise observed data | Estimate or test wider claims under assumptions |
| Example | Mean UK consumption growth 1990–2024 | Test GDP–consumption association with suitable time-series model |
| Methods | Centre, spread, shape, historical correlation | Confidence intervals, tests, regression inference |
| Limitation | No automatic generalisation | Depends on sampling and model assumptions |
Worked example: household consumption growth, column G, 1990–2024. Rates are stored as percentage values, not fractions.
| Statistic | Mathematical formula | Excel formula | Purpose | Result |
|---|---|---|---|---|
| Count | n | =COUNT('02_Clean_Data'!G2:G36) | Number of observations | 35 |
| Mean | Σxᵢ / n | =AVERAGE('02_Clean_Data'!G2:G36) | Average annual growth | 2.005 |
| Median | Middle ordered value (average middle pair if even) | =MEDIAN('02_Clean_Data'!G2:G36) | Typical middle observation | 2.670 |
| Mode | Most frequent value | =MODE.SNGL('02_Clean_Data'!G2:G36) | Most frequent observation; #N/A if no repeat | No unique mode |
| Minimum | min(xᵢ) | =MIN('02_Clean_Data'!G2:G36) | Lowest growth | -12.506 |
| Maximum | max(xᵢ) | =MAX('02_Clean_Data'!G2:G36) | Highest growth | 7.383 |
| Range | max − min | =MAX('02_Clean_Data'!G2:G36)-MIN('02_Clean_Data'!G2:G36) | Distance between extremes | 19.889 |
| Sample standard deviation | s = √[Σ(xᵢ − x̄)²/(n−1)] | =STDEV.S('02_Clean_Data'!G2:G36) | Historical variability (pp) | 3.307 |
| Sample variance | s² = Σ(xᵢ − x̄)²/(n−1) | =VAR.S('02_Clean_Data'!G2:G36) | Squared variability (pp²) | 10.934 |
| Q1 / Q3 | 25th / 75th percentile | =QUARTILE.INC('02_Clean_Data'!G2:G36,1) / QUARTILE.INC('02_Clean_Data'!G2:G36,3) | Quartiles | 1.18 / 3.45 |
| IQR | Q3 − Q1 | =QUARTILE.INC('02_Clean_Data'!G2:G36,3)-QUARTILE.INC('02_Clean_Data'!G2:G36,1) | Middle 50% spread | 2.270 |
| Skewness | n/[(n−1)(n−2)] × Σ[(xᵢ−x̄)/s]³ | =SKEW('02_Clean_Data'!G2:G36) | Asymmetry | -2.539 |
| Excess kurtosis | n(n+1)/[(n−1)(n−2)(n−3)] × Σzᵢ⁴ − 3(n−1)²/[(n−2)(n−3)], zᵢ=(xᵢ−x̄)/s | =KURT('02_Clean_Data'!G2:G36) | Tail heaviness relative to normal | 10.529 |
| Measure | Mathematical formula | Excel example | Meaning |
|---|---|---|---|
| Standard error | SE = s/√n | =STDEV.S(B2:B31)/SQRT(COUNT(B2:B31)) | Precision of a mean under independent sampling |
| 95% confidence interval | x̄ ± t* × SE | =AVERAGE(B2:B31) ± CONFIDENCE.T(0.05,STDEV.S(B2:B31),COUNT(B2:B31)) | Use separate plus and minus formulas for endpoints |
| One-sample t statistic | t=(x̄−μ₀)/SE | =(AVERAGE(B2:B31)-20)/(STDEV.S(B2:B31)/SQRT(COUNT(B2:B31))) | Test a hypothesised mean of 20 |
| Two-sided p-value | 2P(T ≥ |t|) | =T.DIST.2T(ABS(D2),COUNT(B2:B31)-1) | D2 contains t statistic |
| Pearson correlation | r=Σ(x−x̄)(y−ȳ)/√[Σ(x−x̄)²Σ(y−ȳ)²] | =CORREL('02_Clean_Data'!G2:G36,'02_Clean_Data'!H2:H36) | Historical linear association; not causation |
| OLS slope | b=Σ(x−x̄)(y−ȳ)/Σ(x−x̄)² | =SLOPE('02_Clean_Data'!G2:G36,'02_Clean_Data'!H2:H36) | Estimated change in outcome per unit predictor |
| OLS intercept | a=ȳ−b x̄ | =INTERCEPT('02_Clean_Data'!G2:G36,'02_Clean_Data'!H2:H36) | Fitted outcome at predictor zero |
| Coefficient test | t=b/SE(b) | Regression ToolPak: coefficient, standard error, t Stat, p-value | Evidence against zero coefficient under model assumptions |
File → Options → Add-ins → Excel Add-ins → Go → Analysis ToolPak. Data → Data Analysis → Descriptive Statistics → input G1:K36 → grouped by columns → labels in first row → summary statistics → new worksheet. For correlation use the same range and choose Correlation.
Forecasts are conditional estimates, not promises. Train on 1990–2024 and hold out 2025 for a fair comparison.
| Method | Mathematical formula | Excel formula (consumption) |
|---|---|---|
| Naïve | ŷₜ₊₁ = yₜ | =G36 |
| 3-year moving average | ŷₜ₊₁ = (yₜ+yₜ₋₁+yₜ₋₂)/3 | =AVERAGE(G34:G36) |
| Linear trend | ŷ = a + b×year | =FORECAST.LINEAR(2025,G27:G36,A27:A36) |
| Exponential smoothing | Fₜ₊₁=αyₜ+(1−α)Fₜ | =0.3*G36+0.7*N36 (N36 prior forecast) |
| Absolute error | |actual − forecast| | =ABS(G37-N37) |
| MAE | Σ|error|/n | =AVERAGE(O28:O37) (absolute errors) |
| Indicator | Naïve | 3-year average | Linear (2015–24) | Actual | MA absolute error |
|---|---|---|---|---|---|
| SpendingGrowth | 0.309 | 2.403 | 0.478 | 0.988 | 1.414 |
| GDPGrowth | 1.080 | 2.167 | 1.425 | 1.388 | 0.779 |
| CPIInflation | 2.500 | 6.300 | 6.347 | 3.400 | 2.900 |
| Unemployment | 4.361 | 4.051 | 3.845 | 4.896 | 0.845 |
| BankRate | 4.750 | 4.500 | 4.530 | 3.750 | 0.750 |
| RealFoodTurnover | 203,654.610 | 208,270.781 | 214,217.496 | 204,061.919 | 4,208.862 |
| FoodSalesVolume | 100.000 | 102.267 | 105.187 | 100.200 | 2.067 |
Source: supplied workbook, calculated from stored values. Rates use percentage points for errors; turnover uses workbook currency units and volume uses index points.
Compare three methods using 2025 actuals, then repeat rolling forecasts for 2021–2024 without using future observations. Compare MAE within each indicator. Explain the impact of 2020 and 2022. Annual data cannot reveal within-year seasonality.
Select the chart according to the analytical question, not its appearance.
| Chart | Purpose | Dataset application | Excel steps |
|---|---|---|---|
| Line | Trend over time | GDP and consumption growth | Select A and G:H → Insert → Line |
| Column | Compare categories | Average rates | Select summary table → Insert → Column |
| Histogram | Distribution | CPI inflation | Select I2:I36 → Insert → Statistic Chart → Histogram |
| Box plot | Spread and outliers | Consumption and GDP growth | Select G1:H36 → Insert → Box & Whisker |
| Scatter | Association | GDP vs consumption growth | Select H as X and G as Y → Insert → Scatter |
| Heatmap | Multiple associations | G:K correlation matrix | Home → Conditional Formatting → Colour Scales |
| Dashboard | Decision communication | Economic indicators and retail demand | Combine KPI cells, charts and explanatory notes |
Each example explains what the chart means, when to use it, how to create it in Excel and how to interpret the actual evidence. All figures use workbook observations rather than invented values.
Meaning: Connected observations reveal trends, turning points and fluctuations.
When to apply: Ordered time-series data at consistent intervals.
Excel: Select Year and G:H; Insert → Line.
Meaning: Separate bars compare numerical summaries across categories.
When to apply: Comparing categories or periods with compatible units; start the value axis at zero.
Excel: Calculate AVERAGE for G:K; select summary and Insert → Column.
Meaning: Adjacent bins count numerical observations within intervals.
When to apply: Examining frequency, skewness and concentration of a continuous variable.
Excel: Select I2:I36; Insert → Statistic Chart → Histogram; use bin width 2.
Meaning: Shows median, quartiles, spread and potential outliers; whiskers here use 1.5 × IQR.
When to apply: Comparing distributions of numerical variables in compatible units.
Excel: Select G1:H36; Insert → Box & Whisker; check quartile settings.
Meaning: Each point is a matched pair of numerical observations.
When to apply: Exploring direction, strength, nonlinearity and unusual pairs.
Excel: Insert → Scatter; X = H2:H36, Y = G2:G36; add linear trendline.
Meaning: Colour and numbers summarise pairwise correlation coefficients.
When to apply: Screening multiple numerical relationships on a common −1 to +1 scale.
Excel: Data → Data Analysis → Correlation (G1:K36); apply a diverging colour scale centred at zero.
Meaning: Separates observed values from estimates generated using earlier data.
When to apply: Evaluating forecasts or presenting future projections with clearly distinguished series.
Excel: Use AVERAGE(G34:G36) for 2025; insert line chart with separate forecast series.
Meaning: A coordinated collection of charts and indicators answering a business question.
When to apply: Communicating several complementary findings to decision-makers.
Excel: Arrange charts on one worksheet; add KPI cells, sources and concise interpretations.
| Year | SpendingGrowth | GDPGrowth | CPIInflation | Unemployment | BankRate | RealFoodTurnover | FoodSalesVolume |
|---|---|---|---|---|---|---|---|
| 1990 | 1.390 | 0.779 | 7.000 | 6.969 | 13.880 | 135,633.970 | 66.600 |
| 1991 | -0.886 | -1.292 | 7.500 | 8.550 | 10.380 | 137,059.553 | 67.300 |
| 1992 | 0.977 | 1.295 | 4.200 | 9.772 | 6.880 | 139,707.062 | 68.600 |
| 1993 | 2.848 | 3.490 | 2.500 | 9.665 | 5.380 | 142,150.918 | 69.800 |
| 1994 | 3.272 | 4.953 | 2.000 | 8.829 | 6.130 | 146,631.319 | 72.000 |
| 1995 | 2.117 | 3.533 | 2.600 | 7.897 | 6.380 | 149,482.484 | 73.400 |
| 1996 | 3.753 | 2.615 | 2.400 | 7.456 | 5.940 | 152,129.994 | 74.700 |
| 1997 | 4.775 | 4.880 | 1.800 | 6.566 | 7.250 | 157,832.323 | 77.500 |
| 1998 | 4.031 | 3.246 | 1.600 | 6.297 | 6.250 | 161,905.415 | 79.500 |
| 1999 | 4.267 | 2.944 | 1.300 | 6.847 | 5.500 | 164,756.579 | 80.900 |
| 2000 | 4.667 | 4.524 | 0.800 | 6.084 | 6.000 | 168,422.362 | 82.700 |
| 2001 | 3.339 | 2.391 | 1.200 | 5.665 | 4.000 | 184,918.386 | 90.800 |
| 2002 | 2.708 | 1.709 | 1.300 | 5.748 | 4.000 | 192,249.952 | 94.400 |
| 2003 | 3.384 | 3.219 | 1.400 | 5.553 | 3.750 | 197,341.317 | 96.900 |
| 2004 | 2.787 | 2.326 | 1.300 | 4.594 | 4.750 | 203,450.955 | 99.900 |
| 2005 | 2.657 | 2.791 | 2.100 | 4.884 | 4.500 | 206,505.775 | 101.400 |
| 2006 | 0.803 | 2.190 | 2.300 | 5.472 | 5.000 | 208,949.630 | 102.600 |
| 2007 | 3.524 | 2.931 | 2.300 | 5.399 | 5.500 | 210,171.558 | 103.200 |
| 2008 | -0.911 | -0.049 | 3.600 | 5.748 | 2.000 | 207,524.048 | 101.900 |
| 2009 | -3.436 | -4.587 | 2.200 | 7.683 | 0.500 | 209,560.594 | 102.900 |
| 2010 | 2.670 | 2.261 | 3.300 | 7.973 | 0.500 | 205,080.192 | 100.700 |
| 2011 | -0.472 | 0.851 | 4.500 | 8.195 | 0.500 | 201,821.719 | 99.100 |
| 2012 | 2.175 | 1.528 | 2.800 | 8.279 | 0.500 | 200,803.445 | 98.600 |
| 2013 | 2.596 | 1.718 | 2.600 | 7.752 | 0.500 | 199,785.172 | 98.100 |
| 2014 | 3.133 | 3.160 | 1.500 | 6.398 | 0.500 | 200,803.445 | 98.600 |
| 2015 | 3.145 | 2.140 | 0.000 | 5.552 | 0.500 | 205,080.192 | 100.700 |
| 2016 | 3.611 | 2.207 | 0.700 | 4.909 | 0.250 | 212,208.104 | 104.200 |
| 2017 | 2.391 | 3.023 | 2.700 | 4.501 | 0.500 | 211,800.794 | 104.000 |
| 2018 | 1.764 | 1.551 | 2.500 | 4.145 | 0.750 | 214,040.995 | 105.100 |
| 2019 | 1.448 | 1.256 | 1.800 | 3.657 | 0.750 | 216,688.505 | 106.400 |
| 2020 | -12.506 | -10.048 | 0.900 | 4.518 | 0.100 | 226,056.617 | 111.000 |
| 2021 | 6.939 | 8.543 | 2.600 | 4.864 | 0.250 | 227,482.199 | 111.700 |
| 2022 | 7.383 | 5.150 | 9.100 | 3.768 | 3.500 | 214,244.650 | 105.200 |
| 2023 | -0.484 | 0.272 | 7.300 | 4.025 | 5.250 | 206,913.084 | 101.600 |
| 2024 | 0.309 | 1.080 | 2.500 | 4.361 | 4.750 | 203,654.610 | 100.000 |
| 2025 | 0.988 | 1.388 | 3.400 | 4.896 | 3.750 | 204,061.919 | 100.200 |