figure-image

Figure 3.3b

Title:

Estimated prevalence of past-year hypertension and corresponding 95% confidence interval across age, separately by male (solid green line) and female (dashed purple line).

Syntax:

For generating a plot of the estimated odds of hypertension among male adults only:

Copy to Clipboard

For generating a plot of the estimated odds of hypertension among female adults only:

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)

Notes:

To export the male dataset into Excel for plotting purposes:

Copy to Clipboard

To export the female dataset into Excel:

Copy to Clipboard

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.