Figure 5.5b
Title:
Age-varying prevalences of past 30-day cigarette use among high school students given sex and perceived smoking risk as a function of historical time: 1990-2017.
Syntax:
Copy to Clipboard
For generating a plot of the estimated odds of hypertension among Hispanic/Latinx adults only (nethrace = 5):
Copy to Clipboard
For generating a plot of the estimated odds of hypertension among White adults only (nethrace = 1):
Copy to Clipboard
For generating a plot of the estimated odds of hypertension among Other adults only (user created “other” variable representing other racial/ethnic groups = 1):
Copy to Clipboard
Equation:
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.