Figure 3.10a, Figure 3.10b, and Figure 3.10c
Title:
Coefficient functions corresponding to the interaction between the indicator of being male and indicators of being (a) Black, (b) Hispanic/Latinx, and (c) Other racial/ethnic group on mean number of drinks during a typical occasion across age.
Syntax:
Copy to Clipboard
1
%TVEM(
2
data = nesarc_chapter3b,
3
dist = Poisson,
4
id = caseid,
5
time = nage,
6
dv = typdrk2,
7
tvary_effect = int male black hispanic other
8
sexblack sexhisp sexother,
9
method = P-spline,
10
knots = 10 10 10 10 10 10 10 10);
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.