Skip to main content

Standards used in this guide

The recipes use published standards wherever one exists. Where the World Bank's Development Data Group has adopted a standard, the guide uses that one.

Data and identifiers​

StandardUseWorld Bank useIn this guide
World Development IndicatorsThe indicator codes and names, such as SH.MORT.U5, that identify a series.The World Bank publishes the indicators under these codes.The fictional panel uses the pattern of the codes. Its values are invented.
ISO 3166-1The alpha-3 code of a country.The World Development Indicators identify countries by alpha-3 codes.The panel uses invented codes, AAA to HHH, that are not meant to identify countries.
CSV, RFC 4180The plain-text table format of every input and output file.A common exchange format for tables.Chapters 1 to 4.
JSON LinesOne JSON object per line, the format of a batch file and its output.Not a World Bank standard. The providers of batch services use it.Chapter 3.

Statistical methods​

MethodUseWorld Bank useIn this guide
Collective and point anomalies, CAPA (Fisch, Eckley, and Fearnhead 2022)Finds runs of shifted values and single outliers.The macroanomaly package of the World Bank uses it through the R package anomaly.Recipe 2.1.
Isolation forest (Liu, Ting, and Zhou 2008)Scores how easily an observation is separated from the others.The macroanomaly package uses it through the R package isotree.Recipe 2.1.
Hampel filter (Hampel 1974)Flags a value far from the median of its neighbours.The macroanomaly package uses it through the R package pracma.Recipe 2.1.
Super smoother (Friedman 1984, as implemented in supsmu)Estimates the trend of a series.The macroanomaly package removes the trend with feasts::STL, and the suite uses the super smoother for series without a season.Recipe 1.3.
Seasonal-trend decomposition by loess (Cleveland and others 1990, Journal of Official Statistics)Removes a seasonal component from quarterly and monthly series.The same package uses it for series with a season.Recipe 1.3.

Corrections​

Standards change versions and URLs. If a reference here is wrong or out of date, open an issue with the row and the corrected source.