May 20, 2026

[Draft] A Probabilistic NIR-2025

This post introduces a PlanZero's first probabilistic model: an interpretation of the NIR-2025 data including its uncertainty estimates. The PlanZero site now includes a Models tab with a section for probabilistic models, which represent and visualize emissions uncertainty. This treatment of uncertainty is a fundamental aspect of PlanZero's future modelling work. This post also introduces "Planned" status for posts as a mechanism for communicating roadmap and organizing ongoing work.

Overview

As of this post, PlanZero incorporates uncertainty estimates from NIR-2025 into a new kind of model in PlanZero, a probabilistic model. The emissions estimates in NIR-2025 were meant to be interpreted in a probabilistic framework, and interpreting reported emissions this way makes it possible to show them more completely, and evaluate NIR predictions relative to confidence in their estimated values.

The NIR-2025 follows IPCC-2006 reporting guidance in defining uncertainty as lack of knowledge of the true value of a variable, that can be described as a probability density function. Probability density functions, in this context, define the range and likelihood of possibilities for emissions estimates. This post introduces a probabilistic NIR-2025 model (found under the new "Models" tab above) with probability density functions for each sector, region, gas, and year 1990-2023 covered by NIR-2025. As probabilistic modelling is new to PlanZero, this post includes a primer on probability density functions, distributions, and probabilistic models as Appendix 1.

The density functions used to model per-sector-region-gas-year emissions in the NIR-2025 model are custom parametric density functions, which this post dubs "Symmetric Blended Log-Normal" (SBLN) distributions. These distributions are used to blend Normal and Log-Normal distributions so that all sectors can be modelled with the same type of distribution, regardless of whether the sector emissions are naturally non-negative or not. Details about the design of this distribution can be found in Appendix 2.

Some judgement and creativity was required to estimate the parameters of the SBLN distributions for each combination of sector, region, gas, and year. The NIR-2025 does not estimate means for every combination, and uncertainty values are listed using a different taxonomy of sectors, and only for national totals, and only for years 1990 and 2023. For the large positive emissions that dominate the totals, the SBLN distributions were approximately log-normal with the desired mean and variance, but in cases of zeros, missing data, or not-necessarily-positive emissions, various other distributions were used. The details of how the parameters of the SBLN distribution were set in all cases can be found in Appendix 3.

The probabilistic NIR-2025 model introduced here is intended to support the evaluation of future work on predictive models, whose job (in future posts) will be to predict emission amounts before they are published. Appendix 4 describes a method for evaluating predictive models quantitatively on the basis of the probabilistic NIR-2025 model, such that a score of zero corresponds to perfect distributional prediction across all sector-gas-region-year combinations, and anything else represents a magnitude-weighted KL-divergence from the NIR-2025 model.

This post also introduces a new style of visualization to communicate probabilistic models: an overview by sector (see below), with an ability to click-through and see emissions in one sector by region and by greenhouse gas. Appendix 5 documents both types of graphic. The vertical axis for all panels is annual emissions in MtCO2e, the horizontal axis is time (the time range is adjustable via the scroll bar at the bottom of the graphic). The overview graphic below shows that uncertainty is low for the sectors with largest emissions, although there is visibly more uncertainty when it comes to emissions from enteric fermentation and even larger uncertainty when it comes to e.g. municipal solid waste landfills. The largest uncertainty of all is in emissions from forest land, shown at the bottom of the graphic among other sectors for land-use, land-use change, and forestry.

Finally, this post also brings a procedural change, introducing "Planned" as an earlier-stage status for posts. The purpose of planned posts is to communicate a roadmap. When a planned post is no longer missing content, then it will be marked instead as a Draft. Relatedly, the Overview / Appendix format used in this post breaks with the Introduction / Content / Conclusion pattern used to date for two reasons: (1) the Overview / Appendix format is better for communicating multiple levels of technical depth, because the Overview quickly lays out the key message for the broadest audience and invites readers to dive deeper only where they wish; (2) the Overview / Appendix format accelerates iterative writing, because each appendix is a small piece that can be written relatively independently of the whole post. I hope that the introduction of Planned posts and the use of Overview / Appendix structure helps organize and communicate several planned posts:

  1. Static Normals: a baseline predictive model of national emissions
  2. Evaluating a predictive model with NIR-2025 data
  3. Strategies in probabilistic models: another look at Bovaer
  4. What is a PlanZero model? Introducing a PlanZero glossary
  5. Improving NIR prediction with autoregressive probabilistic modelling
Of course, beyond that, there's much more do to ultimately model the impacts of emission reduction strategies. But these posts are partly written, even if their contents are incomplete and sometimes misplaced.

Until the next post reaches Draft status,

- James Bergstra

Appendices:

Appendix 1: Probabilistic Models, Distributions, and Density Functions

Uncertainty as Probability Density Functions

The NIR-2025 defines uncertainty as lack of knowledge of the true value of a variable, that can be described as a probability density function characterizing the range and likelihood of possible values. A probability density function is a mathematical function that

  • is never negative,
  • has an area under its curve of exactly 1,
  • is used to assess the probability of a variable's true value being within a range.
A probability density function assesses the probability that a variable's unknown, true value lies within some range from values A to B as the area under the curve from A to B. In mathematics notation, if we were to call our variable "X" then we would typically write this probability, P, like this: P(A<X<B) or P(AXB). As an example, if the probability density function happened to be shaped like the following particular "log-normal" (there are lots of possible shapes for probability density functions), and A happened to be 0.5, and B happened to be 1.1, then we could illustrate P(A<X<B) as the shaded area:

2026-08-06T20:58:24.983102 image/svg+xml Matplotlib v3.11.1, https://matplotlib.org/

Probability Distribution

The maximum probability that a range of value can have is 1. If the probability that the true value lies in a range is exactly 1, then it means the value is guaranteed to lie within that range. In the example above P(0<X<)=1 because the log-normal distribution allocates no probability whatsoever to negative numbers or zero (in range notation: P(X0<)=0).

Since the total amount of probability has to add up to 1, a probability density function describes how probability is distributed across the possible values that a variable might truly have. This is often called the "probability distribution", or sometimes simply "distribution", of the variable, but to be honest, I don't think this figurative image is quite right, because variables do not have distributions intrinsically. A variable has a value, and we just sometimes don't know what that value is. It's more helpful to think of the probability density function as distributing (doing the distribution of probability) and to think of the distribution as meaning something about the variable.

Probability Model

The choice of which probability density function(s) to use for which variable(s) is called a model. Sometimes a model may be called a probabilistic model, or a probability model, or a stochastic model, but in PlanZero these terms are interchangeable. This post is titled "A Probabilistic NIR" because it explores the consequences of using certain probability density functions (see Appendix 2: Translating NIR-2025 Uncertainty Data) for certain variables (the annual emissions totals in NIR-2025).

To conclude this appendix on Probability models, distributions, and density functions: NIR-2025 says that uncertainty refers to a lack of knowledge regarding a variable's true value, which corresponds to a probability density function, and this section has introduced what "probability density function" means. Several terms related to probability (linked above in the text) have been added to the PlanZero glossary, and some of the definitions link back to this appendix.

That said, probabilistic modelling is a huge topic. In Ontario, if not the rest of Canada, it is typically introduced in secondary school, and covered in greater detail at various university levels with application to areas of science, engineering, medicine, social studies, mathematics etc. where probabilities are used. For more information and orientation, see e.g. wikipedia ( start with e.g. Probability) or prompt an LLM-based AI with a question such as "Could you help me learn about probability density functions?" for a personalized introduction.

Appendix 2: The Symmetric Blended Log-Normal Distribution

PlanZero uses a single custom parameterized family of probability density functions to model each emission probability distribution in the NIR. I call this distribution a Symmetric Blended Log-Normal (SBLN). The SBLN distribution is a mixture (weighted sum) of three instances of two well-known distributions: two log-normals and a normal. The mixture components are organized by four parameters: a mean (μ), a roll-off (ρ), and a relative uncertainty (σ) such that 1.0 means 100%, and a lower bound (β) that truncates the density distribution. The three components of an SBLN distribution are:

  1. A normal distribution with mean μ, and a variance that would gives it a relative uncertainty of σ if its mean were equal to the roll-off.
  2. A log-normal distribution with mean (μ) and scale such that 95% of the probability is within ±100σ% of the mean if the mean is positive.
  3. A matching log-normal distribution on the negative values with mean (μ) and scale such that 95% of the probability is within ±100σ% of the mean if the mean is negative.
The three components are weighted differently, depending on the magnitude of the mean relative to the roll-off. If the magnitude of the mean is small relative to the roll-off, then the normal distribution has almost all of the weight, and the distribution looks like a normal with the desired mean and a fixed amount of uncertainty that lets it turn into a log-normal in a smooth way if you imagine the magnitude of the mean growing. As the absolute value of the mean switches to being larger than the roll-off, then the components are re-weighted so that the overall shape gradually transitions to being a log-normal as the magnitude of the mean grows. The details of this distribution can be found in a Jupyter notebook hosted on PlanZero's GitHub page.

The result is a parameterized probability density function that can make what I think are all the shapes required to reasonably represent the elements of the NIR. The lower bound (β) is used to truncate densities to be non-negative for emissions that can't be negative such as e.g. CO2 from road transportation. For some examples of what SBLN distributions can look like, here are some distributions that show the effects of the mean, roll-off, and relative uncertainty parameters:

2026-08-06T20:58:51.913743 image/svg+xml Matplotlib v3.11.1, https://matplotlib.org/

Appendix 3: Translating NIR-2025 Uncertainty Data

The NIR-2025 section 1.5 ("Uncertainty Assessment") begins: While national GHG inventories should be accurate, complete, comparable, transparent and consistent, estimates will always inherently involve some uncertainty. Uncertainties in the inventory estimates may be caused by systematic and/or random uncertainties in the input parameters or estimation models. The NIR text explains that the 2006 IPCC guidelines specify that the primary purpose of providing quantitative uncertainty information is to assist in setting priorities for the improvement of future inventories and to guide decisions about which methods to use and observes that typically, the uncertainties associated with trends and the national totals are much lower than those associated with individual gases and sectors.

Estimating high uncertainty is relatively easy; estimating low uncertainty with confidence takes work. My interpretation of this characterization of the NIR's approach to uncertainty, is that it was primarily meant to assess where and when emissions could reasonably be compared in terms of their means. Simple techniques for approximate uncertainty estimation were often sufficient to separate signal from noise, and confirmed e.g. that yes, apparently large-emission sectors really were indeed as bad as they looked. PlanZero has a different use for the uncertainty — model matching, below in "A Metric for Evaluating NIR Predictions" — but the uncertainty estimates used to compare sectors seem good for this purpose as well. The remainder of this section is about the uncertainty estimates in NIR-2025, and how the probabilistic NIR model interprets them as probability density functions.

NIR-2025 Uncertainty Data

The NIR-2025 data about uncertainty is contained in four related tables in Annex 2 to the report. The first two tables (A2-1, A2-2) are about uncertainty in totals, (exclusive and inclusive of land-use sectors, respectively). The second two tables (A2-3, A2-4) are about uncertainty in trend, (again exclusive and inclusive of land-use sectors, respectively). The model developed in the next section draws on Table A2-2 "Uncertainty Assessment Level for base year and latest year with LULUCF)". The rows of this table correspond to (sector, gas) combinations. The columns of the table have emissions totals (to help identify corresponding sectors and gases used in other Annex data) and uncertainty on those totals, expressed as percentage points. Those percentage points are sometimes zero, usually positive, and never negative. Most-frequently they are 1% or 2%. There are some outlier (sector, gas) combinations (such as e.g. 250% on N2O from stationary combustion sources producing heat and electricity, 440% on N2O from stationary combustion sources in oil and gas extraction, and up to 740% on CH4 from military aviation) but for the most part, the uncertainties are small enough (especially on the larger gas-sector combinations) that the magnitude of the estimated mean carries the most relevant information about the distribution. The overall uncertainty on the national total was assessed to be about 2-3% without Land-Use, Land-Use-Change, and Forestry (LULUCF) sectors, and about 9% when including them.

The figure below plots the range of assessed uncertainty values in the 2025 NIR national totals, across the sector-gas combinations listed in Annex 2.

2026-08-06T20:58:58.762271 image/svg+xml Matplotlib v3.11.1, https://matplotlib.org/

The largest emission values on both negative and positive ends of the spectrum have relatively low uncertainty. High-uncertainty sector-gas combinations (e.g. > 50%) only occurs in association with sectors emitting up to about 1000 kt CO2e, which individually represent only about 0.1% of the national total. Despite little nooks and crannies of uncertainty, the overall picture based on means (which PlanZero has been using to date) can be taken as relatively accurate. Still, for some purposes, the differences between e.g. 1%, 2%, 10%, and 20% uncertainty are important even if they all bestow confidence in the mean. The next section translates these uncertainties into probability density functions for all sector-gas-region-year combinations in the NIR. See Appendix 4 for how the probabilistic NIR model can support the evaluation of predictions.

Relating the Rows of Annex 2 to PlanZero's Sector-Gas Classifications

PlanZero uses the "IPCC Source Category" column of Table A2-2 in the NIR-2025's Annex 2 to establish a correspondence with the IPCC categorization used elsewhere in NIR-2025. Annex 2 can be found on the IPCC website (2025NIR - Part 2.pdf) and the table of uncertainties has been superceded on the NIR website by NIR-2026, but a copy can be downloaded from PlanZero's GitHub project (copy of EN_Annex2_Uncertainty.xlsx). The table below lists the row(s) from Table A2-2 used to establish the uncertainty for each sector-gas combination used elsewhere in the NIR-2025.

NIR Sector Gas Annex 2 IPCC Source Category
Stationary Combustion Sources/Public Electricity and Heat ProductionAllFuel Combustion - Public Electricity and Heat Production
Stationary Combustion Sources/Petroleum Refining IndustriesAllFuel Combustion - Petroleum Refining
Stationary Combustion Sources/Oil and Gas ExtractionAllFuel Combustion - Manufacture of Solid Fuels and Other Energy Industries
Stationary Combustion Sources/MiningAllFuel Combustion - Manufacturing Industries and Construction
Stationary Combustion Sources/Manufacturing Industries/Iron and SteelAllFuel Combustion - Manufacturing Industries and Construction
Stationary Combustion Sources/Manufacturing Industries/Non-Ferrous MetalsAllFuel Combustion - Manufacturing Industries and Construction
Stationary Combustion Sources/Manufacturing Industries/ChemicalAllFuel Combustion - Manufacturing Industries and Construction
Stationary Combustion Sources/Manufacturing Industries/Pulp and PaperAllFuel Combustion - Manufacturing Industries and Construction
Stationary Combustion Sources/Manufacturing Industries/CementAllFuel Combustion - Manufacturing Industries and Construction
Stationary Combustion Sources/Manufacturing Industries/Other ManufacturingAllFuel Combustion - Manufacturing Industries and Construction
Stationary Combustion Sources/ConstructionAllFuel Combustion - Manufacturing Industries and Construction
Stationary Combustion Sources/Commercial and InstitutionalAllFuel Combustion - Other Sectors
Stationary Combustion Sources/ResidentialAllFuel Combustion - Other Sectors
Stationary Combustion Sources/Agriculture and ForestryAllFuel Combustion - Manufacturing Industries and Construction
Transport/Aviation/Domestic Aviation (Civil)AllFuel Combustion - Civil Aviation
Transport/Aviation/MilitaryAllFuel Combustion - Other (Military Aviation)
Transport/Road Transportation/Light-Duty Gasoline VehiclesAllFuel Combustion - Road Transportation
Transport/Road Transportation/Light-Duty Gasoline TrucksAllFuel Combustion - Road Transportation
Transport/Road Transportation/Heavy-Duty Gasoline VehiclesAllFuel Combustion - Road Transportation
Transport/Road Transportation/MotorcyclesAllFuel Combustion - Road Transportation
Transport/Road Transportation/Light-Duty Diesel VehiclesAllFuel Combustion - Road Transportation
Transport/Road Transportation/Light-Duty Diesel TrucksAllFuel Combustion - Road Transportation
Transport/Road Transportation/Heavy-Duty Diesel VehiclesAllFuel Combustion - Road Transportation
Transport/Road Transportation/Propane and Natural Gas VehiclesAllFuel Combustion - Road Transportation
Transport/RailwaysAllFuel Combustion - Railways
Transport/Marine/Domestic NavigationAllFuel Combustion - Navigation
Transport/Marine/FishingAllFuel Combustion - Fishing
Transport/Marine/Military Water-Borne NavigationAllFuel Combustion - Other (Military Navigation)
Transport/Other Transportation/Off-Road Agriculture and ForestryAllFuel Combustion -Off-Roadb
Transport/Other Transportation/Off-Road Commercial and InstitutionalAllFuel Combustion -Off-Roadb
Transport/Other Transportation/Off-Road Manufacturing, Mining and ConstructionAllFuel Combustion -Off-Roadb
Transport/Other Transportation/Off-Road ResidentialAllFuel Combustion -Off-Roadb
Transport/Other Transportation/Off-Road Other TransportationAllFuel Combustion -Off-Roadb
Transport/Other Transportation/Pipeline TransportAllFuel Combustion - Pipeline Transport
Fugitive Sources/Coal MiningAllFugitive Sources - Coal Mining
Fugitive Sources/Oil and Natural Gas/OilAllFugitive Sources - Oil & Gas
Fugitive Sources/Oil and Natural Gas/Natural GasAllFugitive Sources - Oil & Gas
Fugitive Sources/Oil and Natural Gas/VentingCO2Fugitive Sources - Venting
Fugitive Sources/Oil and Natural Gas/VentingCH4Fugitive Sources - Venting & Flaring
Fugitive Sources/Oil and Natural Gas/VentingN2OFugitive Sources - Venting & Flaring
Fugitive Sources/Oil and Natural Gas/FlaringCO2Fugitive Sources - Flaring
Fugitive Sources/Oil and Natural Gas/FlaringCH4Fugitive Sources - Venting & Flaring
Fugitive Sources/Oil and Natural Gas/FlaringN2OFugitive Sources - Venting & Flaring
CO2 Transport and StorageAllCO2 Transport and Storage
Mineral Products/Cement ProductionAllIPPU - Cement Production
Mineral Products/Lime ProductionAllIPPU - Lime Production
Mineral Products/Mineral Product UseAllIPPU - Other (Limestone and Dolomite Use)
Chemical Industry/Ammonia ProductionAllIPPU - Ammonia Production
Chemical Industry/Nitric Acid ProductionAllIPPU - Nitric Acid Production
Chemical Industry/Adipic Acid ProductionAllIPPU - Adipic Acid Production
Chemical Industry/Petrochemical and Carbon Black ProductionCO2IPPU - Petrochemical and Carbon Black Production
Chemical Industry/Petrochemical and Carbon Black ProductionCH4IPPU - Petrochemical and Carbon Black Production (including carbide production)
Chemical Industry/Petrochemical and Carbon Black ProductionN2OIPPU - Petrochemical and Carbon Black Production
Metal Production/Iron and Steel ProductionAllIPPU - Iron and Steel Production
Metal Production/Aluminium ProductionAllIPPU - Aluminium Production
Metal Production/SF6 Used in Magnesium Smelters and CastersAllIPPU - Magnesium Production
Production and Consumption of Halocarbons, SF6 and NF3HFCsIPPU - Fluorochemical Production
Production and Consumption of Halocarbons, SF6 and NF3PFCsIPPU - Integrated Circuit or Semiconductor
Production and Consumption of Halocarbons, SF6 and NF3SF6IPPU - Integrated Circuit or Semiconductor
Production and Consumption of Halocarbons, SF6 and NF3NF3IPPU - Integrated Circuit or Semiconductor
Non-Energy Products from Fuels and Solvent UseAllIPPU - Non-Energy Products from Fuels and Solvent Use Other - Other (Use of Urea in SCR Vehicles)
Other Product Manufacture and UseN2OIPPU - Other (Medical Applications of N2O)
Other Product Manufacture and UseHFCsIPPU - Product Uses as Substitutes for Ozone Depleting Substances
Other Product Manufacture and UsePFCsIPPU - Other Contained Product Uses
Other Product Manufacture and UseSF6IPPU - Electrical Equipment
Enteric FermentationAllAgriculture - Enteric Fermentation
Manure ManagementCH4Agriculture - Manure Management
Manure ManagementN2OAgriculture - Manure Management Direct Emissions
Agricultural Soils/Direct SourcesAllAgriculture - Direct Agriculture Soils
Agricultural Soils/Indirect SourcesAllAgriculture - Indirect Agriculture Soils
Field Burning of Agricultural ResiduesAllAgriculture - Field Burning of Agricultural Residues
Liming, Urea Application and Other Carbon-Containing FertilizersAllAgriculture - Urea Application
Municipal Solid Waste LandfillsAllSolid Waste Disposal - Managed Waste Disposal Sites
Industrial Wood Waste LanfillsAllBiological Treatment of Solid Waste - Anerobic Digestion - Industrial & Municipal Facilities
Biological Treatment of Solid WasteAllBiological Treatment of Solid Waste - Composting
Incineration and Open Burning of WasteAllIncineration and Open Burning of Waste - Waste Incineration
Municipal Wastewater Treatment and DischargeAllWastewater Treatment and Discharge
Industrial Wastewater and DischargeAllWastewater Treatment and Discharge
Forest LandAllLULUCF - Forest Land Remaining Forest Land
CroplandCO2LULUCF - Cropland
CroplandCH4Blend: Conversion of Forest Land and Grass Land
CroplandN2OLULUCF - Cropland
GrasslandAllLULUCF - Grassland
WetlandsAllLULUCF - Wetlands
SettlementsCO2LULUCF - Settlements
SettlementsCH4Blend: Conversion of Forest Land and Grass Land
SettlementsN2OBlend: Conversion of Forest Land and Grass Land
Harvested Wood ProductsAllLULUCF - Harvested Wood Products (HWP)

With this correspondence, the probabilistic NIR model interprets NIR-2025 as defining

  • Average (mean) emission amount m(s,g,r,t) in units of ktCO2e, for all non-negligible combinations of sector (s), gas (g), region (r), year (aka time, t)
  • Uncertainty amount u(s,g,r,t) in units of percent for all sectors and gases, for the region only of Canada (not provinces or territories), and for years 1990 and 2023 (not inclusive of the intervening years).

PlanZero interprets the NIR-2025 Annex 2 values as guidance for interpolation to intervening years, and provinces and territories as follows:

CaseUncertainty Interpolation
Uncertainty in national total, intervening year 1990<t<2023 Linear interpolation with coefficient α=t199020231990: u(s,g,Canada,t)=(1α)u(s,g,Canada,1990)+(α)u(s,g,Canada,2023)
Province/territory region (r) uncertainty u(s,g,r,t)=u(s,g,Canada,t)

The next sections in this Appendix relate these m and u values to probability density functions for each combination of sector, gas, region, and year.

Modelling NIR-2025 with Probability Density Functions

The probabilistic NIR model features probability density functions for every sector-gas-region-year combination, where region may be the entire country of Canada, or any one of the provinces or territories (including Nunavut, which was only created in 1999). All probability density functions in the probabilistic NIR model were are Symmetric Blended Log-Normal (SBLN) functions as defined in Appendix 2. The probability density functions for non-negative sectors were defined according to a few cases as follows. Non-negative sectors are ones that can't possibly have negative emissions, such as emissions from burning fossil fuels in homes, industrial burners, and vehicles. Recall that the SBLN distribution has four parameters: a mean (μ), a roll-off (ρ), a relative uncertainty (σ) such that 1.0 means 100%, and a lower bound (β) that truncates the distribution to have no probability below a threshold.

Cases for non-negative sectors (s) Probability Density Function
m(s,g,r,t) defined, non-tiny (m(s,g,r,t)1ktCO2e) SBLN(μ=m(s,g,r,t),ρ=μ10,σ=max(u(s,g,r,t),0.01),β=0)
m(s,g,r,t) defined, tiny (mr<1ktCO2e) SBLN(μ=0.5,ρ=0.01,σ=0.5,β=0)
m(s,g,r,t) undefined, m¯(s,g,r) defined SBLN(μ=max(m¯(s,g,r),1),ρ=μ10,σ=0.7,β=0)
m(s,g,r,t) undefined, m¯(s,g,r) undefined SBLN(μ=0.5,ρ=0.01,σ=0.5,β=0)

The first case applies to national emissions and non-negligible provincial and territorial contributions. The first case distribution has a mean matching the data, and uncertainty approximately matching either the interpolated uncertainty or the uncertainty data when it's defined. The model uncertainty σ=max(u,0.01) ensures that the model is always at least a little uncertain (at least 1%), to avoid division-by-zero special cases in computations using the model. This clipping only affected a few explicitly listed areas (e.g. N2O from Adipic Acid Production, CH4 from Wetlands), and predominantly applied to implicitly-zero, unlisted sector-gas combinations such as SF6 from fossil combustion sources. The roll-off ρ=max(m,0.1)10 being so much less than the mean ensures that the shape of the distribution is almost exactly log-normal. The β=0 ensures that the distribution allocates no probability to the possibility of emissions less than 0 ktCO2e.

The second case applies to sectors-gas-region-year combinations for which NIR-2025 lists the emissions as being nearly zero. For these combinations, the probabilistic NIR model uses a standard distribution that assigns almost all probability to very small emission amounts.

The third case introduces a new term symbol m¯(s,g,r) to denote average regional mean over time, the average emission total for the sector-gas-region of interest across whatever years are explicitly listed in NIR-2025. In this case, probability density functions are associated with a standard large relative uncertainty, and ignore the interpolated uncertainty u(s,g,r,t).

The fourth and final case is a standard small estimated amount associated with sector-gas-region combinations that were never mentioned in the NIR. In effect, the model assumes their emissions are negligible.

Probability Density Functions For Possibly-Negative Emissions

There are four sectors that are sometimes negative in NIR-2025:

  • Harvested Wood Products
  • Forest Land
  • Cropland
  • Settlements
They must be treated differently from the non-negative sectors because their being estimated to be near zero doesn't imply that there is a low magnitude of uncertainty, and if they're estimated to be negative, then the uncertainty means they could be even more negative.

The National emissions totals for these sectors were modelled as SBLN distributions as well, as follows:

Cases for possibly-negative sectors (s) Probability Density Function
m(s,g,r,t) defined SBLN(μ=m(s,g,r,t),ρ=100ktCO2e,σ=max(|u(s,g,r,t)|,0.01))
m(s,g,r,t) undefined SBLN(μ=0,ρ=100k,σ=max(u,1.0))

In contrast to the formula for non-negative sectors, the SBLN formula in the first case here for potentially-negative sectors uses larger roll-off values so that the distributions are not always like log-normals. The roll-off was chosen so that whenever the magnitude |m| of a national sector-gas emission estimate was on the order of 100 kt CO2e or less, then the probability density function would look more like a normal distribution, and not so much like a log-normal. The value of 100ktCO2e was chosen to be large enough to be a conservative margin of error, yet small enough to not trigger re-ordering of provinces or territories in the visualizations below (which are sorted by a combination of estimated emission plus possible fraction of their uncertainty).

In the other case for potentially non-negative sectors, when the per-sector-gas-region-time mean is undefined, then the probability density was simply a relatively small approximately-normal distribution centered at 0.

For a visualization of these modelling choices, see Appendix 5, or the full NIR-2025 model visualization.

Appendix 4: A Method for Evaluating Predictive Models

My main motivation for introducing a probabilistic NIR model here on PlanZero was to use it as a reference for evaluating predictive emission models. A predictive emission model is a model that includes probability density functions for times into the future. It is easy to make a model that makes predictions of future emissions. It is important to establish first how such models can be evaluated, when the results they predict are still necessarily in the future.

The standard strategy for evaluating predictive models is to assume that the patterns of the past will continue. So for example, we might say: We have a method M for fitting a predictive model. We believe that NIR-2024, NIR-2025, NIR-2026, and NIR-2027 are all similar;

  1. When we applied M to NIR-2024 it predicted something like NIR-2025, but was off by amount l2025.
  2. When we applied M to NIR-2025 it predicted somethign like NIR-2026, but was off by amount l2026.
  3. When we applied M to NIR-2026 it predicted something like NIR-2027; we don't know how much it's off because NIR-2027 hasn't been published yet, but since they're all kind of similar, we expect it to be off by an amount similar to l2025 and l2026.

This section outlines a recipe based on the probabilistic NIR for making such statements about future methods in PlanZero. The key to the recipe is a function that says how much predictions are "off" in a useful way. We'll take it as given that "predicting something like NIR-2025" means predicting a set of probability density functions for each sector-gas-region-time as are defined in NIR-2025. The question that then remains, is to say how "off" is one set of probability density functions (namely, our predictions) when compared with another (namely the probabilistic NIR introduced in this post)?

In assessing how predictions can be wrong, there are both qualitative and quantitative aspects. This Appendix is about quantitative aspects. It shows there's at least one plausibly-good numerical metric to assess goodness of fit between a probabilistic NIR model and predictions thereof. I believe that a prediction that scores lower on this metric (closer to zero) is probably going to make better predictions than one that scores higher, and PlanZero can be helpful in framing the search for good predictive models as the search for models with low scores on this metric.

A Metric for Evaluating NIR Predictions

A model-scoring metric is a mathematical formula that takes as input a reference model (M(ref)) and a predictive model (M(pred)) and turns them into a number such that the number being low (near zero, for example) means the prediction is good, and the number being higher means the prediction is not so good. The remainder of this section develop a model-scoring metric for NIR prediction. The first bit of math we need for developing that metric is something called an expected value of a function according to a probability distribution.

EP[f]=xf(x)P(x)dx

The expected value of a function of an unknown variable is an integral (a huge sum over tiny little intervals of x) of the function being applied to every possible value the variable could take, weighted by how probable it is according to the probability density function P. For f(x)=x this is just the average value of the variable according to distribution P. Model evaluation metrics are usually an expectation over some distribution.

The next bit of math we'll use to define a first model evaluation metric is a debatable choice, but here it is, the so-called KL-divergence, written as a function of two probability distributions P and Q (suppose P is one of the distributions in M(ref) and Q is the corresponding predicted-distribution over the same emission, but from M(pred)):

KL(PQ)=EP[logPQ]=xlog(P(x)Q(x))P(x)dx

The KL divergence between two probability distributions is zero if they're identical, and greater-than-zero if they're not identical. Typically if Q is a bit different, the KL divergence is small, and as Q becomes more-different, the KL divergence increases faster and faster. With the KL divergence, if there are any values of the unknown variable that are possible according to P and nearly-or-actually impossible according to Q, then the divergence becomes enormous and then ultimately undefined. For our application, it means that if P is a distribution from a probabilistic NIR model, and KL is used to rank various Qs as approximations, the ranking will favour Qs that err on the side of caution over Qs whose predictions are overly-confident, highly-concentrated distributions.

I said that the KL divergence was a debatable choice because there are lots measures of distributional similarity. This course note PDF from CS6742 at Cornell lists a few, and the Wikipedia page on scoring rules provides an overview of alternatives and considerations. If users of NIR predictions have particular needs or considerations, then those needs or considerations should inform how they rank predictive models. A metric based on KL-divergence is a starting point, and illustrates the general pattern of using a reference model in a metric. I've created a GitHub issue as a reminder to review alternative metrics for model selection.

By incorporating a couple of expectations and a sum over sector-gas-region-time combinations of relevance, the following formula expresses what I think is a baseline, first model comparison metric:

T(M(ref),M(pred))=s,g,r,t:|m(s,g,t)|>1ktCO2e, t>Tabs(𝔼P(s,g,r,t)[x])KL(P(s,g,r,t)Q(s,g,r,t))s,g,r,t:|m(s,g,t)|>1ktCO2e, t>Tabs(𝔼P(s,g,r,t)[x])

This metric compares a reference model M(ref) comprising reference distributions P(s,g,r,t) to a predictive model M(pred) comprising predicted distributions Q(s,g,r,t). It's a weighted sum over sector-gas-region-time combinations meeting two criteria: (a) that they aren't irrelevant as defined by e.g. |m(s,g,t)|>1ktCO2e (the national total for that sector-gas-year wasn't approximately zero); and (b) that they're predictions, i.e. about times t>T after some threshold year T. For each relevant, predicted year, the metric sums up the KL-divergence between the reference and predicted distributions, as weighted by the magnitude of emissions impact. The comparison metric can only be zero for perfectly-matching models, harshly penalizes overly-confident predictions, and weights errors in distribution-matching by how much the distributions matter to the overall sum of national emissions. The denominator decouples the scale of the function from the scale of the emissions contributions. There's some oddness in summing over the national totals (region being Canada) alongside the regions being provinces and territories, but I don't think it's a problem. Future posts on PlanZero will introduce predictive models, and this metric, or others like it, can, I hope, serve as a reliable guide for modelling effort to deliver iteratively better models.

Coming back to the annecdotal illustration from the beginning of the Appendix, we might say: We have a method M for fitting a predictive model. We believe that NIR-2024, NIR-2025, NIR-2026, and NIR-2027 are all similar;

  1. 2024(M2025(ref),M2024,2025(pred)) was l2025.
  2. 2025(M2026(ref),M2025,2026(pred)) was l2026.
  3. We've estimated M2026,2027(pred) and we expect l2027 to be similar to l2025 and l2026.
The probabilistic NIR model developed in this post is M2025(ref). Additional work will be required to develop probabilistic models for past and future NIRs (e.g. M2024(ref) and M2026(ref)) and the predictive models (e.g. M2025,2026(pred)).

Appendix 5: Visualizing Probabilistic NIR Models

The probabilistic NIR developed in this post can be visualized be visualized in a set of graphics that can now be found in the "Models" tab of the PlanZero navigation bar. There are two types of graphic. The main graphic, featured above in the Overview, and reproduced below provides an overview of national emissions time-series for all 71 sectors. The second type of graphic (provided below in two variants) focuses on a single sector. The example below is about stationary combustion associated with public electricity and heat. The two variants show the contributions from each region in terms of CO2e, and then of just one greenhouse gas (CO2). The per-sector visuals do not include gases with no contribution to the sector, but otherwise all of the sector-region-gas-year combinations are visualized, as well as the CO2e totals.

In this first graphic, emissions are summarized by year, in terms of total MtCO2e per non-aggregate sector. Each dotted line is an empirically-estimated model mean (calculated by drawing a sample from the probabilistic NIR model and computing the sample average). Each coloured region is an empirically-estimated 95% credible interval for national emissions per sector (calculated from quantiles of a sample from the probabilistic NIR model). There's supposed to be a solid line in each panel for the actual NIR data, but it doesn't always render as it should. You can see the actual data as well as the model mean, and upper and lower credible interval (CI) limits if you mouse-over each panel. If you do so, you'll see that the model means are estimated to be very close to the data means.

Sectors are sorted by maximum upper credible bound, which is the maximum over time, of the upper reach of the coloured region around the mean (which was a 95% credible interval). The effect is that sectors are sorted by "how large they might credibly ever have been". All of the sectors on each row are shown with the same vertical scaling, so that side-to-side visual comparison of magnitudes is possible. Each row is only scaled to suit its largest sector, so with each descending row, the vertical scaling provides more and more magnification. The scale of the top row is from 0 to 140 MtCO2e, whereas the scale of the bottom two rows doesn't reach even 1 MtCO2e. The national grand totals in each section of the graphic are given their own unique scales because they are so much bigger than the rest.

Colours in this figure correspond to high-level emissions categories:

  • dark blue for energy used in stationary combustion (e.g. for public electricity, oil and gas extraction, etc.)
  • light green for energy used in vehicles (e.g. light-duty, heavy-duty, off-road, marine, etc.)
  • purple for fugitive sources(e.g. venting, flaring)
  • wheat for agriculture-related emissions (e.g. soil, manure)
  • pink for waste-related emissions (e.g. landfills)
  • other colours for various industrial activities (mineral products, chemicals, metals)
Mouse-over the slider below to see the active date range and adjust it to focus on specific periods. Click on each panel for a deeper-dive into modelled emissions in that sector.

The next two graphics represent what is currently available (as of time of writing) by clicking through the panel above relating to stationary combustion emissions from the generation of public electricity and heat.

The graphic directly above summarizes emissions by year, and in terms of total MtCO2e per region. We can see the difference here between NIR-2025 data and the model. The model estimates e.g. Nunavut's emissions for all years (including years that Nunavut didn't even exist, silly model) whereas the data in NIR-2025 only covers years 1999-2004. The colours in this figure have a different meaning relative to the large figure with a panel for each sector; in this figure, each region gets an arbitrary but unique colour.

Finally, this graphic summarizes the emission of just one gas, by year, still in units of MtCO2e, pre region. This graphic, for CO2, looks very similar to the one above, because the strong majority of CO2e impact from the combustion of fossil fuels is in the emission of CO2 itself.

That concludes the last Appendix on visualization, and in fact, the entire post. As of writing, all of these graphics are available on the NIR-2025 model page.