Calculator: WHO 2007 Z-scores

This page is running the WHO who2007 macro package for R , hosted on a Shiny server. It calculates anthropometric Z-scores for children aged 5-19 years based on the the 2007 World Health Organization 'reference' charts and LMS tables.

The sample.csv file shows the expected variable names and formats. Column order is immaterial, and additional columns are permitted. The computational algorithm and LMS tables are as provided by the WHO with one exception: Since they did not provide weight-for-age beyond 10 years, these LMS tables are based on our published re-analysis of WHO/NCHS data .

The variable agemons is age in months, height is in cm, and weight is in kg; sex may be coded as M/F, m/f, or 1/2 where 1=male. The column oedema = y/n depending on whether edema is present has been made optional i.e. if the column is omitted, all weight are assumed edema-free. The identifier variable id should be unique for each observation.

A spreadsheet with comma separated variables (.csv) may be created using the 'Save As' .csv option in Excel and uploaded using the sidebar on the left. The WHO 2007 R macro (2013-05-16) will then calculate Z-scores (z...) and out-of-range warning flags (f...) for BMI-for-age (zbfa), weight-for-age (zwfa), and height-for-age (zhfa). Once results are displayed, download them by clicking the <Download> button, which will typically save them to your Download folder with 'out_' prepended to the original dataset name.

Download Results

As explained in our general FAQ, European computers sometimes use a semicolon to separate columns even though you asked for comma separated variables, which is easy to diagnose by opening your .csv file in a text editor, such as NotePad or TextEdit. If you encounter this problem, there is now a selector in the sidebar for comma, semicolon, or tab delimiters. Please refresh your browser page before changing this selection.