Description Usage Format Source Examples
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).
1 |
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
Data adapted from the 2007-2008 National Health and Nutrition Examination Survey (NHANES). http://www.cdc.gov/nchs/nhanes.htm
1 2 3 4 5 6 7 8 9 10 11 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.