Example: Try the dataset sampledata with the following set up.
* Predictor: pm25_satnowood_2
* Response: gest_weeks
* Mediators: anyht; smoke_status_flag
* Level of X: Season
Example: Try the dataset wt with the following set up.
* Predictor: sex
* Potential mediators: tvhours, cmpthours, cellhours, exercises, sweat, ...
* Response: overweigh
* Choose the mediator for plotting: cellhours
Yu Q, Cao W, Hamer D, Urbanek N, Straif-Bourgeois S, Cormier SA, Ferguson T, Richmond-Bryant J. Associations of COVID-19 hospitalizations, ICU admissions, and mortality with Black and White race by air pollution and other risk factors in the Louisiana Industrial Corridor, March, 2020 – August, 2021. IJERPH, 2023. 20, 4611. DOI: 10.3390/ijerph20054611.
Yu Q, Cao W, Mercante D, and Li B, Bayesian Mediation Analysis for Time-to-Event Outcome – Investigating Racial Disparity in Breast Cancer Survival, 2022. In revision.
Cao W, Yu Q, Bayesian Mediation Analysis Methods With an Application to Explore Racial Disparities in the Diagnostic Age of Breast Cancer, 2022. Submitted.
Yu Q, Cao W, Mercante D, Wu X, Li B. Bayesian mediation analysis methods to explore racial/ethnic disparities in anxiety among cancer survivors. Behaviormetrika. 2023;50(1):361-83. DOI: 10.1007/s41237-022-00185-9