Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

nhanes_bmi

Subsample of National Health and Nutritional Examination Survey for School Children


Description

This data is a limited subset of the 2007-2008 National Health and Nutrition Examination Survey (NHANES), for studying whether particpation of school meal programs lead to an increase in body mass index (BMI).

Usage

data(nhanes_bmi)

Format

A data frame with 2330 observations on the following 13 variables.

BMI

The response variable. Body mass index.

School_meal

Participation of school meal programs (1: Yes, 0: No)

age

Age of Child

ChildSex

Gender of the Child (1: Male, 0: Female)

black

Black Race (1: Black, 0: otherwise)

mexam

Hispanic Race (1: Hispanic: 0 otherwise)

pir200_plus

Family above 200% of the federal poverty level (1: Yes, 0: No)

WIC

Participation in Special Supplemental Nutrition program (1: Yes, 0: No)

Food_Stamp

Participation in foold stamp program (1: Yes, 0: No)

fsdchbi

Childhood food security (1: Secure, 0: insecure)

AnyIns

Any insurance (1: Yes, 0: No)

RefSex

Gender of the adult respondent (1: Male, 0: Female)

RefAge

Age of the adult respondent

Source

Data adapted from the 2007-2008 National Health and Nutrition Examination Survey (NHANES). http://www.cdc.gov/nchs/nhanes.htm

Examples

library(ATE)
data("nhanes_bmi")

Y<-nhanes_bmi[1:500,1]
treat<-nhanes_bmi[1:500,2]
X<-nhanes_bmi[1:500,-c(1,2)]

fit1<- ATE(Y,treat,X)
fit1
summary(fit1)
#plot(fit1)

ATE

Inference for Average Treatment Effects using Covariate Balancing

v0.2.0
GPL (>= 2)
Authors
Asad Haris <aharis@uw.edu> and Gary Chan <kcgchan@uw.edu>
Initial release
2015-02-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.