zBMI: Scoring of zBMI and zBMI category

zBMIR Documentation

Scoring of zBMI and zBMI category

Description

The function returns the age (measured in months), zBMI, and zBMI category given the data.

Usage

Score_zBMI(data,age_month=FALSE)

Arguments

data

The input data

age_month

An indicator whether age measured in months is given or not. If age_month=FALSE, then the date of birth (DEM2AGE_YEAR, DEM2AGE_MONTH, DEM2AGE_Date) and survey date (StartDate) are required. If age_month=TRUE, convert the age so that it is measured in the unit of month.

Format

The data needs the following variables (The coded values are showed after the question text):

ageinmonth (Needed if age_month=FALSE)

The age measured in the unit of month

DEM2AGE_YEAR (Needed if age_month=TRUE)

What year were you born in?

(1) 1920; (2) 1921; ... (90) 2009; (99) Choose not to answer

DEM2AGE_MONTH (Needed if age_month=TRUE)

What month were you born in?

(1) Jan; (2) Feb; ... (12) Dec; (13) Choose not to answer

DEM2AGE_Date (Needed if age_month=TRUE)

What day were you born on?

(1) 1; (2) 2; ... (31) 31; (32) Choose not to answer

StartDate (Needed if age_month=TRUE)

System generated time of filling the survey, must have the format "mm/dd/yy hh:mm"

DEM12GENDER

What is your gender?

(1) Male; (2) Female; (3) Other; (4) Choose not to answer

BMI

Computed from height and weight

Value

zBMI

A continuous value

zBMI_Category

A categorical value in one of the four levels: Underweight, Normal, Overweight, Obese

Author(s)

Wangcheng Yan, Wenjun Zhou

References

https://www.cdc.gov/growthcharts/percentile_data_files.htm


wzhou7/Fruved documentation built on Feb. 4, 2024, 2:32 p.m.