The Commission has developed its demand forecasting models in MATLAB. The package allows complex models to be quickly developed and tested. The scripts provided below use the Statistics Tool Box add-on module. A cheaper alternative to MATLAB may be found in the open source OCTAVE product. OCTAVE has limited compatibility with MATLAB scripts so some adjustments to the scripts below will probably be required if you wish to use that software.
The models and data provided here can be freely distributed and used as the basis for other modelling or analysis work provided that the source of the information is acknowledged in any published material.
The following files are in MATLAB format but can, with the exception of the input tables, be edited in a standard text editor.
Final national model : The MATLAB script containing the national level demand forecast model, including the modelling of forecast uncertainty.
Demand forecast input tables : The MATLAB workspace file containing the historical and forecast data series used in all of the national forecasting models.
Demand forecast input tables : An Excel spreadsheet containing the same historical and forecast data sets as used in the forecasting models.
Original Test Models :These are the original MATLAB models assessed by the Commission as outlined in the Demand forecast model review 2004 [PDF, 588KB] document.
- Single Stage Linear Models
- SingleStageRegressionMC2004v1.m
- SingleStageRegressionMC2004v2.m
- SingleStageRegressionMC2004v3.m
- SingleStageRegressionMC2004v4.m
- Single Stage Log Models
- SingleStageLogRegressionMC2004v1.m
- SingleStageLogRegressionMC2004v2.m
- SingleStageLogRegressionMC2004v3.m
- SingleStageLogRegressionMC2004v4.m
- Two Stage Linear Models
- TwoStageRegressionMC2004v1.m
- TwoStageRegressionMC2004v2.m
- TwoStageRegressionMC2004v3.m
- TwoStageRegressionMC2004v4.m
- TwoStageRegressionMC2004v5.m
- Two Stage Log Models
Coefficient and Break Point Testing : These models were developed and used to assess the stability of the model coefficients following the NZIER review.
- CoefficientSensitivityResidential.m
- CoefficientSensitivityLightIndustrialCommercial.m
- CoefficientSensitivityHeavyIndustrial.m
- CoefficientSensitivityLightIndustrialCommercialLagVersion.m
