3.3 Poisson Regression
If the response is integer, poisson regression will be run (or specified with type = 'poisson'
).
$Counts <- rpois(nrow(pembrolizumab),lambda = 3)
pembrolizumabrm_uvsum(data=pembrolizumab, response='Counts',
covs=c('age','cohort'))
RR(95%CI) | p-value | Global p-value | N | |
---|---|---|---|---|
age | 1.00 (0.99, 1.01) | 0.93 | 94 | |
cohort | 0.81 | 94 | ||
A | Reference | 16 | ||
B | 1.07 (0.73, 1.56) | 0.74 | 18 | |
C | 1.23 (0.85, 1.77) | 0.27 | 18 | |
D | 1.01 (0.66, 1.54) | 0.95 | 12 | |
E | 1.06 (0.76, 1.49) | 0.75 | 30 |