Subsample of National Health and Nutritional Examination Survey for School Children
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).
data(nhanes_bmi)
A data frame with 2330 observations on the following 13 variables.
BMIThe response variable. Body mass index.
School_mealParticipation of school meal programs (1: Yes, 0: No)
ageAge of Child
ChildSexGender of the Child (1: Male, 0: Female)
blackBlack Race (1: Black, 0: otherwise)
mexamHispanic Race (1: Hispanic: 0 otherwise)
pir200_plusFamily above 200% of the federal poverty level (1: Yes, 0: No)
WICParticipation in Special Supplemental Nutrition program (1: Yes, 0: No)
Food_StampParticipation in foold stamp program (1: Yes, 0: No)
fsdchbiChildhood food security (1: Secure, 0: insecure)
AnyInsAny insurance (1: Yes, 0: No)
RefSexGender of the adult respondent (1: Male, 0: Female)
RefAgeAge of the adult respondent
Data adapted from the 2007-2008 National Health and Nutrition Examination Survey (NHANES). http://www.cdc.gov/nchs/nhanes.htm
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)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.