The choice of a study population in any given project in the IDI will depend on the research question and the study design. Many studies will require a resident population, equivalent to the official Estimated Resident Population (ERP) estimates published by Stats NZ. We summarise below some options for identifying a residential population in the IDI.

IDI Estimated Residential Population (IDI-ERP)

Note: Prior to the June 2026 IDI refresh, the IDI-ERP was stored in the table data.snz_res_pop. This table has since been decommissioned, but the same population can now be found in the Administrative Population Census (APC) tables as described below.

All IDI users have access to the APC tables. They are stored in the IDI_Modules_YYYYMM areas and contain a list of the estimated resident population of New Zealand, along with information about each person, and for most users this will be the best choice for selecting a resident population from the IDI.

A list of the resident population in a given year can be drawn from the table apc_time_series. The data in this table are estimated at 30 June for the years 2007 through to the present. This population is built using the following methods, called “IDI-ERP”:

  • Selecting individuals from the IDI spine who have been active in health, Inland Revenue tax, or education datasets, or have arrived on a long-term visa, in the two years leading up to the date of the estimate;
  • Removing individuals if they died before the reference date;
  • Removing individuals who were not living permanently in New Zealand (residence generally defined as living in New Zealand for 12 out of the 16 months following the reference date (see methods report below for full details);
  • For children under five years old, having a New Zealand birth registration or a visa approval (excluding visitor or transit visas) before the reference date is sufficient for inclusion in the population.

The total national resident population is approximately 2% higher than the official population estimates. Alignment between the IDI-ERP and the ERP is more variable for subsets of the population, e.g. 67% of the larger (>100,000 population) territorial authorities have IDI-ERPs within 2.5% of the ERP (see Appendix 3, Stats NZ 2022 (referenced below).

Further work is needed to understand the causes of undercoverage or overcoverage in some population groups and areas. For example, a VHIN Catalyst project used a version of the resident population table for identifying a denominator population in cardiovascular disease research.

Bespoke Residential Estimated Population

There might be projects where you require a population denominator for a particular date outside of the available residential population tables, which all relate (currently) to 30 June. For example, you might want a population for a calendar year ending 31 December. It is possible to adapt the broad IDI-ERP methods to different time periods. The VHIN Healthier Lives Earthquake Project used a bespoke residential population table to estimate a resident population at the start of the Canterbury Earthquake sequence in 2010 (See https://www.stats.govt.nz/research/experimental-population-estimates-from-linked-administrative-data-2017-release for more information).

More information on the APC methods is available at:
Stats NZ (2022). Experimental administrative population census: Data sources, methods, and quality (second iteration), https://www.stats.govt.nz/research/experimental-administrative-population-census-data-sources-methods-and-quality-second-iteration.

By Andrea Teng, June Atkinson, Sheree Gibb

Version: Original 10 March 2017; Latest update 5 October 2026.