4.4 Negative Binomial Regression
To run negative binomial regression instead specify type = 'negbin'
rm_uvsum(data=pembrolizumab, response='Counts', type='negbin',
covs=c('age','cohort'),
offset = "log_length_followup")
RR(95%CI) | p-value | N | |
---|---|---|---|
age | 1.00 (0.99, 1.01) | 0.47 | 94 |
cohort | 94 | ||
A | Reference | 16 | |
B | 0.85 (0.55, 1.32) | 0.47 | 18 |
C | 1.26 (0.85, 1.88) | 0.26 | 18 |
D | 0.90 (0.55, 1.44) | 0.67 | 12 |
E | 0.93 (0.64, 1.37) | 0.70 | 30 |