Table of contents
- Overview
- Weather data and methodology
- Visa consumer card spending data
- Vocalink and Pay.UK business-to-business payment data
- Derivation of the spending measures
- Fixed effects methodology
- Robustness and alternative specification testing
- Strengths and limitations
- Exploratory non-linear and machine-learning analysis
- Definitions
- Related links
- Cite this page
1. Overview
This article provides supporting quality and methods information for our Impact of weather on UK consumer and business spending article.
The consumer-to-business (C2B) transaction data are collected by Visa Europe (Visa); the data are aggregated and anonymised by Visa before being provided to the Office for National Statistics (ONS). Aggregation and suppression are used to ensure data shared with the ONS are a view of broad trends and do not identify or reflect individual spending habits. The data cover part of UK consumer spending rather than all payment methods. The C2B data are available at postcode-area level.
The business-to-business (B2B) transaction data are collected and processed by Vocalink on behalf of Pay.UK. The B2B data describe aggregated payment flows between organisations using the Bacs Payment System (Bacs) and Faster Payment System (FPS). The B2B data are available at International Territorial Level 1 (ITL1), comprising the nine regions of England, as well as Scotland, Wales and Northern Ireland. Within the B2B analysis, the ITL1 region assigned to each transaction relates to the region where the payee business is registered.
Weather data were sourced from Met Office HadUK-Grid observations available through the Centre for Environmental Data Analysis (CEDA) archive . We used observations of average temperature, ground frost, snow lying, rainfall, sunshine and wind. Unusual weather was expressed as deviations from the 1991 to 2020 long-term mean within each region and month.
Across the C2B and B2B analyses, we fitted fixed-effects ordinary least squares (OLS) regression models to explore associations between unusual weather and spending.
The C2B analysis applies the core model across different merchant categories and spending channels, while the B2B analysis focuses on payments received by construction businesses as a case study.
Back to table of contents2. Weather data and methodology
Weather data were sourced from the Met Office HadUK-Grid gridded climate observations, accessed through the Centre for Environmental Data Analysis (CEDA). We used the 1 kilometre gridded dataset from the 1836 to 2025 HadUK-Grid release. The analysis used monthly observations for average temperature, ground frost, snow, rainfall, sunshine and wind from January 1991 to December 2025.
Weather measure descriptions
Average temperature
Definition: average of daily mean air temperature over the month
Unit: °C (degrees Celsius)
Ground frost
Definition: number of days when grass-minimum temperature was below 0°C (zero degrees Celsius)
Unit: days
Rainfall
Definition: total precipitation recorded over the month
Unit: millimetres
Snow lying
Definition: number of days with more than 50% of the ground covered by snow at 09:00 Coordinated Universal Time (UTC)
Unit: days
Sunshine
Definition: duration of bright sunshine during the month
Unit: hours
Wind
Definition: mean of hourly wind speed at a height of 10 metres above ground level over the month
Unit: knots
The 1 kilometre gridded weather data are archived in network Common Data Form (netCDF) files. We wrangled the data into a workable form using an in-house R script that extracts weather information from the netCDF files and aggregates those data to selected geographies using shapefiles that contain the coordinates of regional boundaries. The outputs of the tool are monthly weather observations at postcode area and ITL1 regional scales.
For each weather measure, region and month-of-year, we calculated a long-term mean based on the meteorological standard reference period, currently defined as January 1991 to December 2020. This is the same reference period that the Met Office uses to establish heatwave thresholds. As a practical example, we were then able to compare observed rainfall in a given region in January 2025 with the mean rainfall observed in January for the same region over the 1991 to 2020 period. This produces an expression of unusual weather for each region in terms of the absolute deviation from the region's long-term mean, defined as:
where:
observed weather value in region r in month i and year t
mean weather value in the same region r and month i over the 1991-2020 climatological reference period
deviation from the climatological mean in region r in month i and year t
Back to table of contents3. Visa consumer card spending data
What the data cover
The consumer-to-business (C2B) analysis used aggregated and anonymised monthly Visa card-payment data for domestic spending by UK cardholders with UK merchants between January 2019 and December 2025 at postcode-area level.
UK consumers and merchants may use a choice of payment methods and providers to make and receive payments. The C2B transaction analysis focuses on Visa consumer card spending.
Card spending covers part of UK spending habits and is not exhaustive. It will not cover cash transactions or direct debit payments, or other payment methods such as buy now, pay later. The information presented is independent of dynamics in the wider payments ecosystem, including on other card schemes. The trends are affected by the overall use of cards in comparison with other payment methods, and choice of card schemes, of which Visa is one.
Merchant versus cardholder location
Merchant location data were used for face-to-face spending, linking weather to where purchases took place. Online spending was attributed to an estimated cardholder postcode area, derived by Visa before aggregation, and this estimate does not identify any individual's address. Data were provided to the Office for National Statistics (ONS) in aggregated and anonymised form only.
Merchant categories analysed
The C2B analysis examined face-to-face and online spending across merchant category groups, as well as spending aggregated across all merchant categories and channels.
The face-to-face analysis included:
apparel and accessories
automotive
entertainment
food and grocery
fuel
home improvement and supply
lodging
quick service (fast food) restaurants
restaurants
retail goods
The online analysis covered most of the same categories, but included department stores, discount stores and retail services instead of automotive and fuel, reflecting differences in the data available at postcode-area level.
Postcode-area coverage for the merchant categories included in each analysis is shown in Tables 1 and 2.
| Merchant category | Postcode-area coverage (%) |
|---|---|
| All | 99.98 |
| Apparel and Accessories | 95.36 |
| Automotive | 97.16 |
| Entertainment | 93.65 |
| Food and Grocery | 98.75 |
| Fuel | 98.85 |
| Home Improvement and Supply | 98.64 |
| Lodging | 94.93 |
| Quick Service Restaurants | 99.40 |
| Restaurants | 99.03 |
| Retail Goods | 98.95 |
Download this table Table 1: Postcode-area coverage of face-to-face Visa spending by merchant location and merchant category
.xls .csv
| Merchant category | Postcode-area coverage (%) |
|---|---|
| All | 100.00 |
| Apparel and Accessories | 100.00 |
| Department Stores | 98.99 |
| Discount Stores | 99.75 |
| Entertainment | 100.00 |
| Food and Grocery | 98.48 |
| Home Improvement and Supply | 100.00 |
| Lodging | 99.99 |
| Quick Service Restaurants | 99.68 |
| Restaurants | 100.00 |
| Retail Goods | 100.00 |
| Retail Services | 99.91 |
Download this table Table 2: Postcode-area coverage of online Visa spending by cardholder location and merchant category
.xls .csvImplications of incomplete coverage
Postcode-area coverage was generally high across the merchant categories analysed, although it varied between categories. Where a spending value was unavailable, that postcode-area monthly observation could not contribute to the corresponding fixed-effects model. The models therefore used the available observations for each spending series rather than requiring a fully balanced panel across all postcode areas and months.
Differences in coverage should still be considered when comparing results across merchant categories, particularly where coverage was lower.
Back to table of contents4. Vocalink and Pay.UK business-to-business payment data
What the data cover
The business-to-business (B2B) data describe aggregated payment flows between organisations using the Bacs Payment System (Bacs) and Faster Payment System (FPS). Bacs Direct Debit and Direct Credit payments are batch processed and operate on a three-day cycle, whereas FPS facilitates real-time payments between UK bank accounts.
Both payment systems are used by businesses and are captured within the B2B data. The data are aggregated and anonymised before being provided to the Office for National Statistics (ONS) to ensure individual organisations and transactions cannot be identified.
The resulting aggregates describe the value of anonymised and aggregated payments between organisations for each month between January 2019 and December 2025. Each payment aggregate is classified by the type of business making (payer) and receiving (payee) the payments.
Business classification follows the UK Standard Industrial Classification 2007 (SIC 2007) at the two-digit (SIC2) level. For example, one row of data could refer to payments made from a business that manufactures food products (SIC 10) to a fishing and aquaculture business (SIC 03). The payments are further classified by the region in which the payer and payee businesses are registered. Geographic granularity in the B2B dataset extends to the International Territorial Level 1 (ITL1) regions, comprising the nine administrative regions of England, as well as Scotland, Wales and Northern Ireland.
Missing data and regional classifications
As the B2B dataset is under development, not all organisations can be confidently assigned an industry or region. For this analysis, we removed records where the industry or regional classifications required for the analysis were unavailable.
It is also important to note that the ITL1 region assigned to each payment relates to the region in which the payee business is registered, not necessarily the region in which goods or services are being purchased. For example, a business may have its headquarters in London with separate branches in other regions. Payments made by or to this business are assigned to London, even if those payments were made by one of the regional branches. This represents a headquarters effect that creates the potential for a disconnect between the regions in which payments are relevant and the regions to which payments are assigned.
A case study of the construction industry
Construction activity can be affected by weather conditions through factors including site access, productivity, scheduling, material use and demand for construction services. This makes construction a useful initial case study for examining associations between unusual weather and B2B payments.
After removing records without the required classifications, we filtered the B2B dataset to retain payments where the payee was classified as a construction business: SIC2 code 41 (Construction of buildings), SIC2 code 42 (Civil engineering), or SIC2 code 43 (Specialised construction activities). We then aggregated the payment values to yield a single value representing regional payments received by construction businesses in each month between January 2019 and December 2025. This produced a continuous time series that matched the frequency, length and geographic granularity of the weather data.
Back to table of contents5. Derivation of the spending measures
Across the consumer-to-business (C2B) and business-to-business (B2B) datasets, we expressed the value of money spent by consumers and money received by construction businesses from other businesses, respectively, as the percentage difference from the mean monthly value within each postcode area or International Territorial level (ITL1) region over the full 2019 to 2025 period.
For simplicity, we use “region” to refer to both postcode areas in the C2B analysis and ITL1 regions in the B2B analysis. We use “spending category” to refer to merchant categories in the C2B analysis and the construction industry in the B2B analysis.
Percentage difference in spending equals 100 multiplied by (monthly spend minus mean spend) divided by mean spend
where:
value of spending in spending category i in region r in month t
mean value of monthly spending in the same spending category i and region r between January 2019 and December 2025
the percentage difference in monthly spending for spending category i from the mean monthly spend for region r
For each region and spending category, expressing monthly spending or payments received as a percentage difference from its own 2019 to 2025 mean standardises differences in absolute values between regions and spending categories. Scaling the spending outcome in this way focuses the analysis on movements within regions and spending categories, rather than differences between them. Positive values indicate spending or payments above the relevant mean, while negative values indicate spending or payments below it.
Back to table of contents6. Fixed effects methodology
Model specification and control variables
The data form a monthly panel covering January 2019 to December 2025, in which spending and payments are repeatedly observed for the same areas over time. As described in Section 3: Visa consumer card spending data, postcode area coverage in the consumer-to-business (C2B) data was generally high but varied between merchant categories. Where a spending value was unavailable for a postcode area and month, that observation could not contribute to the corresponding model.
A fixed-effects regression model was selected because it enabled us to estimate associations using changes within the same geographic area over time, rather than relying on differences between areas. This helps to account for persistent characteristics that differ between areas, which may include differences in population, income and demographics. Region fixed effects account for these persistent local characteristics. Month-of-year fixed effects account for recurring seasonal patterns, while year fixed effects account for changes between years, which, in the C2B data, for example, could include changing usage of different payment methods over time.
The dependent variable was the percentage difference in spending from its 2019 to 2025 mean for each region and type of spending. The main explanatory variables were deviations in average temperature, ground frost, snow, rainfall, sunshine and wind from their respective 1991 to 2020 long-term means.
Regression coefficients therefore show the change in spending or payments, expressed as a percentage difference from the 2019 to 2025 mean, associated with a one-unit change in the relevant weather deviation, holding the other variables constant.
The C2B and business-to-business (B2B) models included a comparable set of control variables to account for factors other than weather that may be associated with changes in spending or payments. These included:
a coronavirus (COVID-19) disruption indicator, equal to 1 from March 2020 to April 2021 and 0 otherwise, representing a broad period of sustained disruption associated with the coronavirus pandemic and related restrictions
the number of bank holidays in each month
lagged percentage difference in spending or payments from the 2019 to 2025 mean
UK average weekly earnings growth, measured over the latest three months compared with the same three months a year earlier
price controls
The precise specifications differed between the C2B and B2B models. The C2B model included UK Consumer Prices Index (CPI) annual inflation as its price control, while the B2B model included the Producer Price Index (PPI) and gas System Average Price (SAP). The C2B model included a one-month lag of the percentage difference in spending from the 2019 to 2025 mean, while the B2B model included one-, three-and six-month lags of the corresponding payment measure.
The control variables were selected based on relevant literature, data availability and robustness testing. Gerg and others in The Substantial Role of Weather Data in Consumer Spending Prediction: A Robust Machine Learning Assessment (2025) found that incorporating weather information improved consumer spending forecasts in the United States and highlighted the importance of economic, labour market and calendar variables for prediction. This informed our initial inclusion of average weekly earnings growth, unemployment, price measures and bank holidays alongside the weather variables.
We also included a coronavirus (COVID-19) disruption indicator to account for the exceptional changes in spending and economic activity associated with the pandemic and related restrictions. The final set of controls was refined based on relevance to the C2B and B2B analyses and robustness testing, including tests for multicollinearity. Public sector net debt was also tested as a potential control variable but was not retained because of multicollinearity concerns.
Control variables and rationale
COVID-19 disruption
- Rationale: accounts for the exceptional changes in economic activity, spending opportunities and payment behaviour associated with the coronavirus (COVID-19) pandemic and related restrictions
Bank holidays
- Rationale: accounts for calendar effects that may alter consumer spending and business activity within a month
Lagged spending or payment measure
- Rationale: accounts for persistence in the spending or payment outcome over time, where changes in previous months may be associated with the current month's spending or payments
UK unemployment rate
- Rationale: accounts for changes in labour market conditions that may influence household spending and wider economic activity
UK average weekly earnings growth
- Rationale: accounts for changes in earnings that may affect household purchasing power, consumer spending and wider economic activity
Price controls
- Rationale: accounts for changes in consumer prices and business input costs that may affect the value and composition of spending and payments
Standard-error clustering
Standard errors were clustered to account for the possibility that model errors may be correlated across observations. Within the same region, unobserved factors may persist over time and affect spending or payments across several months. Similarly, in a particular month, common UK-wide events or economic conditions not fully captured by the model may affect multiple regions at the same time.
For the C2B analysis, standard errors were therefore clustered by postcode area and month. For the B2B analysis, standard errors were clustered by International Territorial Level (ITL1) region and month.
As the B2B data were aggregated to ITL1 regions, only 12 regional clusters were available. Cluster-robust standard errors are generally more reliable with a larger number of clusters, as their accuracy improves as the number of independent clusters increases. Given the small number of clusters, robustness was assessed by comparing models with and without region-clustered standard errors and through leave-one-region-out sensitivity tests. Conclusions remained stable across these checks, with consistent coefficient signs and statistical inferences, and no individual region disproportionately influencing the estimates.
Back to table of contents7. Robustness and alternative specification testing
Approach to model selection
Model selection balanced statistical performance with relevance to the research question and interpretability. The lead model specification was intended to address whether spending and payments changed when weather was unusual for a specific region and month. We therefore selected weather deviations from the 1991 to 2020 long-term mean for the lead specification, while observed weather and other weather definitions were compared as alternative specifications.
The choice of lead specification was not based solely on model fit. Alternative weather measures, functional forms and interactions were tested to assess whether the results were sensitive to different modelling choices. Variance inflation factors and correlations were used to assess multicollinearity throughout the model-selection process.
Multicollinearity and control variable selection
Multicollinearity among the weather variables was limited in both the observed-weather and weather-deviation specifications. A wider macroeconomic-control model improved fit but showed very high correlations and variance inflation factors among several level variables, including public sector net debt, average weekly earnings and the Producer Price Index. The final model therefore used a more focused set of controls relevant to the analysis.
Observed weather compared with weather deviations
The observed weather model provided a marginally better statistical fit than the weather deviation model across several model-fit measures. However, the differences were small, and the signs of all six weather terms were consistent across the specifications.
Both specifications were therefore viable. We selected weather deviations as the lead specification because they directly addressed the research question about weather that was unusual for a region and month, and provided a clearer interpretation for the intended audience. For example, the snow coefficient could be described as the association with one additional day of snow compared with the long-term mean for the same postcode area and month-of-year.
Binary extreme measures
We tested several binary measures of extreme weather. For snow, the indicator identified months with at least one day of snow lying. For frost, we tested several thresholds based on the number of frost days within a month. For heatwaves, we used daily maximum temperature data to generate a monthly heatwave indicator.
A region and month were assigned a value of 1 where daily maximum temperature met or exceeded the relevant heatwave threshold for at least three consecutive days, and 0 otherwise. Met Office heatwave thresholds vary geographically and are defined by county, so approximate thresholds were assigned to postcode areas and International Territorial Level (ITL1) regions to reflect these differences across the UK.
While no multicollinearity concerns were identified with other model features, these binary measures provided limited improvement in model fit and were considered less straightforward to interpret for the intended audience. We therefore retained continuous weather deviations in the main specification, which aligned more directly with the research question and provided a consistent approach across the different weather measures.
Summary of the main robustness tests
Observed weather versus weather deviations
C2B main finding: Models using observed weather variables had marginally better fit; directional effects were consistent.
B2B main finding: Model fit and statistical inferences were broadly consistent when observed weather and weather deviations were modelled separately. Weather deviations were preferred because they better aligned with the research question.
Decision: Use weather deviations as the lead specification because they match the research question and are accessible to explain.
Alternative rainfall measures
C2B main finding: Continuous rainfall, log rainfall, rain days of at least 1 millimetre, and rain days of at least 10 millimetre produced broadly similar coefficient signs. The 10 millimetre measure had marginally better fit, but none were significant under two-way clustering.
B2B main finding: Statistical inferences were broadly consistent across the alternative rainfall measures, with limited evidence of multicollinearity when the measures were modelled separately. Rainfall deviations were preferred for consistency with the other weather measures.
Decision: Retain continuous rainfall deviations in the core specification because they provide a consistent and straightforward interpretation.
Macroeconomic controls
C2B main finding: Adding controls improved overall model fit, but a wider set of macroeconomic controls included several variables that were highly correlated and showed evidence of multicollinearity based on variance inflation factor (VIF) tests. A more focused set of controls was therefore used.
B2B main finding: A wider set of macroeconomic controls showed evidence of multicollinearity, leading public sector net debt to be excluded from the final specification. The retained controls showed limited evidence of multicollinearity. Removing the macroeconomic controls worsened model fit and changed the estimated size of some weather associations, supporting their inclusion in the final specification.
Decision: Use a more focused set of macroeconomic controls and interpret individual macroeconomic coefficients cautiously.
Extreme-weather indicators
C2B main finding: We tested binary indicators for snow, frost and heatwaves. The snow indicator identified months with at least one day of snow lying, while frost indicators were tested using several thresholds for the number of frost days in a month. Overall, the binary measures provided some improvement in model fit, but the additional information was inconsistent across the individual measures and statistical inference under two-way clustering.
B2B main finding: Model fit was similar with and without binary snow, frost and heatwave indicators, with no material evidence of multicollinearity between the binary and continuous weather measures. The binary indicators provided limited additional information beyond the continuous weather deviations.
Decision: Do not include binary weather indicators in the core specification.
Weather interactions
C2B main finding: Rainfall multiplied by wind and temperature multiplied by rainfall provided negligible improvement in model fit. Temperature multiplied by sunshine and temperature multiplied by wind improved model fit but were not robust under two-way clustering.
B2B main finding: Adding plausible two-way weather interaction terms resulted in only marginal changes in model fit. Coefficient sizes and directions were less stable across interaction specifications, and statistical inferences were not consistently supported.
Decision: Do not include interaction terms in the core specification.
Month fixed effects
C2B main finding: Removing month-of-year fixed effects substantially worsened model fit, changed the direction of several estimated weather associations and increased multicollinearity.
B2B main finding: Overall model fit deteriorated when month-of-year fixed effects were removed. Coefficient sizes were sensitive, but directions remained broadly consistent.
Decision: Retain month-of-year fixed effects.
8. Strengths and limitations
Strengths
- The analysis uses monthly spending and weather data at postcode area and International Territorial Level (ITL1) region level, allowing local weather conditions to be linked with spending at a more granular geographic level than national analysis.
- The analysis examines both consumer-to-business (C2B) spending and business-to-business (B2B) payments alongside six weather measures, allowing differences in associations across types of spending, payments and weather to be explored.
- For the C2B analysis, Visa data allow face-to-face spending to be analysed by merchant location and online spending by cardholder location, providing different perspectives on where weather may be associated with spending.
- The B2B data provide monthly payment flows at both industry and ITL1 regional level, allowing associations between unusual weather and payments received by construction businesses to be examined at a regional scale.
- Weather is measured relative to the 1991 to 2020 long-term mean for the same region and month-of-year; this accounts for geographic and month-of-year differences in what is considered unusual weather.
- The fixed-effects approach uses changes within the same region over time, helping to account for persistent differences between places as well as common month-of-year and year patterns.
- We tested a range of alternative model specifications, including different weather measures, control variables, functional forms and interactions, to assess the robustness of the final specification.
Limitations
- The analysis uses monthly data, and short periods of weather-related disruption and subsequent changes in spending within the same month may therefore partly offset each other; for example, weather events such as heatwaves may last for only a few days, meaning any associated change in spending could be masked by more typical weather and spending behaviour during the rest of the month.
- The C2B data cover spending processed through Visa and do not capture all consumer spending, including cash, direct debits, buy now, pay later and transactions processed through other card schemes.
- For the C2B analysis, cardholder location is an estimated attribute and may not represent where the cardholder experienced the weather when making an online purchase.
- For the C2B analysis, merchant-location data are unavailable for some postcode areas and merchant categories because of data availability and disclosure controls.
- The B2B data are subject to a headquarters effect and where the location a construction business is registered may not correspond to where the underlying construction activity takes place; there is, therefore, imperfect mapping between the regions in which unusual weather was observed and the regions to which construction payments were made, making associations with local weather more difficult to identify.
- B2B payments structures are more variable than C2B payments and payments can be made before or after the underlying economic activity takes place, for example, where businesses pay in advance or settle invoices at a later date; changes in construction business payments may therefore not occur at the same time as the construction activity or weather conditions to which they relate, making associations with unusual weather more difficult to identify.
9. Exploratory non-linear and machine-learning analysis
Purpose and relationship to the main analysis
Using only the consumer-to-business (C2B) Visa consumer card spending data, exploratory non-linear modelling was undertaken as a separate extension to the fixed-effects analysis. These findings were not included in the main article. The purpose of this analysis was to examine whether there was additional non-linear structure in the variation in spending left unexplained by the fixed-effects model.
We first estimated the fixed-effects model and extracted its residuals, representing the difference between the spending outcome observed in the data and that predicted by the fixed-effects model. Explainable Boosting Machines (EBMs) were then used to model these residuals rather than the original spending measure.
The exploratory analysis used the same weather-deviation variables as the C2B fixed-effects analysis. EBMs were used to assess the predictive importance of weather, economic and time variables in explaining residual variation from the fixed-effects model. We compared models including month and year with models in which these time variables were removed to assess whether the broad feature rankings were sensitive to their inclusion.
Weather variables containing _delta_lt represent deviations from the 1991 to 2020 long-term mean for the corresponding postcode area and month of the year.
Figure 1: Average weekly earnings growth and CPI inflation had the greatest predictive importance when month and year were included
Explainable Boosting Machine feature importance for predicting residual variation from the consumer-to-business face-to-face spending fixed-effects model, including month and year variables, across UK postcode areas, January 2019 to December 2025
Source: Aggregated and anonymised data on UK card payments provided by Visa Europe Limited (2025); and Met Office HadUK-Grid data accessed through CEDA. Additional data sources used for control variables are stated in the Fixed effects methodology section
Notes:
- Feature importance measures the contribution of each variable to the EBM's predictions of fixed-effects residuals.
- Larger values indicate that a variable contributed more to the model’s predictions.
- Feature importance does not show whether the relationship with residual spending variation was positive or negative, whether it was statistically significant, or whether the variable caused changes in spending.
- Interaction terms represent the combined predictive contribution of two variables.
Download this chart Figure 1: Average weekly earnings growth and CPI inflation had the greatest predictive importance when month and year were included
Image .csv .xlsAverage weekly earnings growth and Consumer Prices Index (CPI) inflation were the two highest-ranked variables in predicting residual variation from the C2B fixed-effects model. Month was the highest-ranked time variable, followed by average temperature deviation, which was the highest-ranked weather variable. Sunshine, wind, rainfall, ground frost and snow-lying deviations also contributed to the model. Interaction terms generally ranked below the main economic, time and weather variables.
Feature importance identifies which variables contributed most to the EBM’s predictions of fixed-effects residuals, but it does not show the form of each variable’s relationship with those predictions. To explore this, we examined how each weather variable’s contribution to fixed-effects residual changed across its observed values. Figure 2 shows this relationship for wind deviation.
Figure 2: Wind showed a non-linear relationship with residual spending variation
Explainable Boosting Machine contribution to predicted fixed-effects residuals as wind deviates from its long-term average, across UK postcode areas, January 2019 to December 2025
Embed code
Notes:
- Wind deviation is the difference between mean daily wind speed at 10 metres above ground during the month and its 1991 to 2020 long-term mean for the same postcode area and month of the year, measured in knots.
- The vertical axis shows the contribution of wind deviation to the EBM’s prediction of the fixed-effects residual. Positive values indicate a positive contribution to the predicted residual and negative values indicate a negative contribution.
The relationship between wind deviation and its contribution to the predicted fixed-effects residual was non-linear. The size and direction of the contribution varied across the observed range of wind deviations, rather than following a consistent linear pattern. This provides an example of how weather may contain additional predictive structure that is not fully captured by a single linear coefficient in the fixed-effects model.
These exploratory findings suggest that some relationships between weather and spending may be better represented by non-linear functional forms, such as changes in the direction or slope at different levels of a weather variable. However, the EBM shape should not be interpreted as evidence of a causal effect or a statistically established threshold.
As a sensitivity check, we also estimated the EBM without month and year variables. Figure 3 shows the resulting feature-importance rankings for predicting fixed-effects residuals. This provides an indication of whether the broad rankings depended on the EBM using month and year variables directly.
Figure 3: Economic variables and average temperature deviation remained the highest-ranked features when month and year were excluded
Explainable Boosting Machine feature importance for predicting residual variation from the consumer-to-business face-to-face spending fixed-effects model, excluding month and year variables, across UK postcode areas, January 2019 to December 2025
Source: Aggregated and anonymised data on UK card payments provided by Visa Europe Limited (2025); and Met Office HadUK-Grid data accessed through CEDA. Additional data sources used for control variables are stated in the Fixed effects methodology section
Notes:
- Feature importance measures the contribution of each variable to the EBM’s predictions of fixed-effects residuals.
- Larger values indicate that a variable contributed more to the model’s predictions.
- Feature importance does not show whether the relationship with residual spending variation was positive or negative, whether it was statistically significant, or whether the variable caused changes in spending.
- Interaction terms represent the combined predictive contribution of two variables.
Download this chart Figure 3: Economic variables and average temperature deviation remained the highest-ranked features when month and year were excluded
Image .csv .xlsThe broad feature-importance rankings were similar when month and year were excluded. Average weekly earnings growth and CPI inflation remained the two highest-ranked variables, while average temperature deviation remained the highest-ranked weather variable. Snow lying, sunshine, ground frost, wind and rainfall continued to contribute to the model. Interaction terms generally ranked below the main economic and weather variables.
Interpretation and limitations
Feature importance measures predictive contribution within the fitted EBM. It does not show the direction of the relationship with residual spending variation, whether an association was statistically significant, or whether a variable caused changes in spending. Rankings may also be affected by correlation between variables. The C2B non-linear analysis is therefore presented as supplementary work rather than as a replacement for the C2B fixed-effects results. These findings may inform future analysis and research.
Back to table of contents10. Definitions
Definitions
95% confidence intervals
A confidence interval (CI) is a measure of the uncertainty around an estimate. If confidence intervals were calculated repeatedly using the same method, we would expect 95% of the intervals to contain the true value. Wider confidence intervals indicate greater uncertainty around the estimate. More information is available at Uncertainty and how we measure it for our surveys.
Bacs Payment System (Bacs)
The Bacs Payment System is one of the UK's interbank payment systems used to process electronic transactions between bank accounts. It primarily handles Bacs Direct Credit and Bacs Direct Debit payments, that are batch processed, operate on a three-day cycle, and have a £20 million individual transaction limit. These services enable secure, reliable transfers for salaries, benefits, supplier payments and regular collections such as bills and subscriptions.
Cardholder location
Online spending was attributed to an estimated cardholder postal sector, district or area, derived by Visa before aggregation. This is an estimated data attribute only, and does not identify any individual's address. Data are aggregated so it is not possible to identify any single individual. The "home postal area" or "home postal district" is defined as the postal area or postal district where the cardholder normally resides.
Debit and credit card transactions
Debit and credit cards facilitate the transfer of money for goods and services rendered without the usage of cash. These transactions occur both in-person through contactless and chip and pin, and online through mail order or e-commerce. All card data that the Office for National Statistics (ONS) receives are anonymised and aggregated to protect against disclosure of individuals' consumer data.
Faster Payment System (FPS)
FPS is a payment system that allows for payments of up to £1 million, and can be used for individual payments, standing orders, forward-dated payments and direct corporate access payments.
Financial payment system
Debit and credit cards are provided by card issuers that enable consumers to make payment transactions. Card issuers are financial institutions, such as a bank or building society, that are responsible for providing a customer with a card. Card schemes, of which Visa is one, are payment networks that provide a range of services. For consumer payments, card schemes provide secure connectivity for merchants to transact with cardholders, either face-to-face or online, and ensure those merchants safely receive their funds from the cardholder's bank.
Fixed effects regression models
Statistical method used with panel data that estimates associations using changes within the same geographic area over time. In this analysis, fixed effects accounted for persistent differences between geographic areas and common differences across calendar months and years. Confidence intervals used clustered standard errors to account for correlation in observations within geographic areas.
International Territorial Levels (ITL)
A geographic classification used to identify regions in the UK. ITL1 represents the highest level of territorial units for statistical purposes and includes Scotland, Wales, Northern Ireland and England.
Merchant category
A merchant category code (MCC) is a four-digit number assigned to describe a merchant's primary business based on annual sales volume measured in local currency. Where a merchant is engaged in more than one type of business, the merchant can either use the MCC that reflects the highest annual sales volume or use different MCCs for different lines of business. In addition, some MCCs identify a specific merchant or type of transaction. In the dataset provided by Visa, card spending data are aggregated where a specific MCC would disclose an individual business's activity. A merchant category group (MCG) is assigned to define an industry using a set of MCCs.
Merchant location
Merchant location is gathered from the merchant's register. The merchant acquirer (bank or financial institution that processes card payments for a merchant) is responsible for providing the card network with the correct location of each merchant outlet, as set out in the Visa merchant data standards manual (PDF, 1.54MB) (opens in a new tab).
For in-store transactions with a fixed location, the merchant location will be where the transaction took place. For merchants that do not have a fixed location, the location can either be where the transaction took place or the merchant's principal place of business.
Online and face-to-face spending
Face-to-face transactions are defined as those where the credit or debit card is present for the transaction. This is where a consumer buys something instore and uses a payment card, including contactless payments. Online transactions are defined as transactions where the payment card is not present. This includes where a purchase is made over the internet, telephone or an app is used to take payment.
Pay.UK
The operator of the UK's retail interbank payment systems, including Bacs and FPS.
Standard Industrial Classification (SIC)
A system for classifying industries by a numeric code. SIC2 refers to two-digit codes representing broad sectors, while SIC5 refers to five-digit codes representing detailed sub-industries.
Vocalink
The infrastructure provider to the UK's retail interbank payment systems, responsible for processing Bacs and FPS transactions.
Back to table of contents12. Cite this page
Office for National Statistics (ONS), released 4 December 2026, ONS website, article, Impact of weather on consumer and business spending, UK, methodology