| data_Halvorson_2022_pois {SIMPLE.REGRESSION} | R Documentation | 
data_Halvorson_2022_pois
Description
Poisson regression data from Halvorson et al. (2022, p. 293).
Usage
data(data_Halvorson_2022_pois)Source
Halvorson, M. A., McCabe, C. J., Kim, D. S., Cao, X., & King, K. M. (2022). Making sense of some odd ratios: A tutorial and improvements to present practices in reporting and visualizing quantities of interest for binary and count outcome models. Psychology of Addictive Behaviors, 36(3), 284-295.
Examples
head(data_Halvorson_2022_pois)
# replicating Table 3, p 293
pois_Halvorson <-
  COUNT_REGRESSION(data=data_Halvorson_2022_pois, DV='Neg_OH_conseqs', 
          forced=c('Gender_factor','Positive_Urgency_new','Planning','Sensation_seeking'), 
        plot_type = 'diagnostics')
# replicating Figure 4, p 294
PLOT_MODEL(model = pois_Halvorson, 
           IV_focal_1 = 'Positive_Urgency_new',   
           IV_focal_2 = 'Gender_factor',
           bootstrap=FALSE, N_sims=1000, CI_level=95, 
           ylim = c(0, 20), 
           xlab = 'Positive Urgency',
           ylab = 'Expected Count of Alcohol Consequences', 
         title = 'Expected Count of Alcohol Consequences by Positive Urgency and Gender') 
[Package SIMPLE.REGRESSION version 0.1.9 Index]