| maihda_health_data | R Documentation |
A pedagogical subset of the National Health and Nutrition Examination Survey (NHANES) dataset, serving as a real-world example for Multilevel Analysis of Individual Heterogeneity and Discriminatory Accuracy (MAIHDA). Contains complete records demonstrating intersectional demographic health inequalities.
maihda_health_data
A data frame with 3,000 rows and 6 variables:
Body Mass Index (kg/m^2), a continuous outcome variable.
Age in years at screening, a continuous covariate.
Gender of the participant (male/female).
Self-reported race/ethnicity.
Educational attainment level.
Poverty to income ratio, a continuous covariate.
Derived from the NHANES R package. Original data collected by the
Centers for Disease Control and Prevention (CDC).
data(maihda_health_data)
# Example usage:
# strata_result <- make_strata(maihda_health_data, vars = c("Gender", "Race", "Education"))
# model <- fit_maihda(BMI ~ Age + (1 | stratum), data = strata_result$data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.