Learn R Programming

ATE (version 0.2.0)

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)

Arguments

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

Run this code
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)


Run the code above in your browser using DataLab