3.8 Adjusting p-values
Multiple comparisons can be controlled for with the p.adjust argument, which accepts any of the options from the p.adjust
function.
rm_uvsum(response = 'orr',
covs=c('age','sex','pdl1'),
data=pembrolizumab,p.adjust = 'fdr')
OR(95%CI) | p-value | N | raw p-value | |
---|---|---|---|---|
age | 0.96 (0.91, 1.00) | 0.11 | 94 | 0.09 |
sex | 0.11 | 94 | 0.11 | |
Female | Reference | 58 | ||
Male | 0.41 (0.13, 1.22) | 36 | ||
pdl1 | 0.97 (0.95, 0.98) | <0.001 | 93 | <0.001 |
Note: The raw p-value column is suppressed when there are categorical variables with >2 levels, to prevent three columns of p-values from appearing.