figure-image

Figure 3.6

Title:

Age-varying odds ratios showing the effect of being male on past-year hypertension among Black, Hispanic/Latinx, and White adults.

Syntax:

To examine the effect of sex among Non-Hispanic/Latinx White adults (nethrace = 1):

Copy to Clipboard

To examine the effect of sex among Non-Hispanic/Latinx Black adults (nethrace = 2):

Copy to Clipboard

To examine the effect of sex among Hispanic/Latinx adults (nethrace = 3):

Copy to Clipboard

Equation:

\ln \left(\frac{p\left(H I G H B P_{i}\right)}{1+p\left(H I G H B P_{i}\right.}\right)=\beta_{0}(t)+\beta_{1}(t) M A L E_{i}

Return to all Figures HERE.

Time-Varying Effect Modeling for the Behavioral, Social, and Health Sciences

Time-Varying Effect Modeling for the Behavioral, Social, and Health Sciences

Authors: Stephanie Lanza and Ashley Linden-Carmichael

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.