Skip to main content
. Author manuscript; available in PMC: 2017 Aug 1.
Published in final edited form as: AIDS Behav. 2016 Aug;20(8):1730–1743. doi: 10.1007/s10461-016-1359-0

Table 3.

Modeling the pattern of sexual and drug use behavior by day of week (Models 5 and 7) and day of diary cycle (Models 6 and 8)

Term Model 5: 7-day pattern of sexual behavior
Model 6: 30-day pattern of sexual behavior
Model 7: 7-day pattern of substance use
Model 8: 30-day pattern of substance use
B 95 %CI p B 95 %CI p B 95 %CI p B 95 %CI p
Fixed effects
Intercept –0.90 [–1.02, –0.78] <0.001 –0.81 [–0.95, –0.67] <0.001 –1.34 [–1.58, –1.10] <0.001 –1.22 [–1.47, –0.97] <0.001
No college degree 0.07 [–0.15, 0.29] 0.54 0.07 [–0.15, 0.29] 0.55 0.35 [–0.13, 0.83] 0.15 0.35 [–0.13, 0.83] 0.16
Age 0.00 [–0.01, 0.01] 0.37 0.00 [–0.01, 0.01] 0.39 –0.02 [–0.04, 0.00] 0.06 –0.02 [–0.04, 0.00] 0.07
In relationship 0.44 [0.17, 0.71] <0.001 0.45 [0.18, 0.71] 0.001
Linear effect 0.05 [0.01, 0.09] 0.007 –0.01 [–0.01, 0.00] 0.02 –0.01 [–0.02, 0.00] 0.007
Quadratic effect 0.01 [0.00, 0.03] 0.04
Cubic effect
Sine effect –0.36 [–0.44, –0.28] <0.001
Cosine effect 0.18 [0.10, 0.25] <0.001

Random effects Est. SE Est. SE Est. SE Est. SE

Intercept 0.84 0.09 0.84 0.09 4.65 0.43 4.64 0.43
AR(1) 0.02 0.01 0.02 0.01 0.08 0.01 0.08 0.01
Residual 0.92 0.01 0.92 0.01 0.71 0.01 0.71 0.01
–2 Residual LPL 37269.86 37291.72 42497.56 42543.50

Although not shown, models 6 and 8 were adjusted for the 7-day patterns identified in Models 5 and 7. The polynomial and trigonometric effects refer to those effects that are coded for the time frame named above each model (i.e., for the 7-day models, these are the weekly polynomial or trigonometric effects while for the 30-day models, these are day of cycle effects); the weekly effects within the 30-day models are not shown but were consistent in both magnitude and significance with those found in the 7-day models

AOR adjusted odds ratio, CI confidence interval, LPL log pseudo-likelihood