Figure 3.4b
Title:
Estimated prevalence of past-year hypertension across age separately for Black, Hispanic/Latinx, White, and Other racial/ethnic groups of adults.
Syntax:
For generating a plot of the estimated odds of hypertension among Black adults only (nethrace = 2):
For generating a plot of the estimated odds of hypertension among Hispanic/Latinx adults only (nethrace = 5):
For generating a plot of the estimated odds of hypertension among White adults only (nethrace = 1):
For generating a plot of the estimated odds of hypertension among Other adults only (user created “other” variable representing other racial/ethnic groups = 1):
Equation:
Notes:
To export the dataset for Black adults into Excel for plotting purposes:
To export the dataset for Hispanic/Latinx adults into Excel for plotting purposes:
To export the dataset for White adults into Excel for plotting purposes:
To export the dataset for “Other” adults into Excel for plotting purposes:
Return to all Figures HERE.
Reprinted by permission from Springer Nature: Generalized Time-Varying Effect Models for Binary and Count Outcomes by Stephanie T. Lanza and Ashley N. Linden-Carmichael, 2021.