2.4 Parametric vs Non-parametric Comparisons
Group comparisons are non-parametric by default, specify testcont='ANOVA'
for t-tests/ANOVA
rm_covsum(data=pembrolizumab, maincov = 'sex',
covs=c('age','pdl1'),
testcont='ANOVA',
show.tests=TRUE)
Full Sample (n=94) | Female (n=58) | Male (n=36) | p-value | StatTest | |
---|---|---|---|---|---|
age | 0.39 | t-test | |||
Mean (sd) | 57.9 (12.8) | 56.9 (12.6) | 59.3 (13.1) | ||
Median (Min,Max) | 59.1 (21.1, 81.8) | 56.6 (34.1, 78.2) | 61.2 (21.1, 81.8) | ||
pdl1 | 0.63 | t-test | |||
Mean (sd) | 13.9 (29.2) | 15.0 (30.5) | 12.1 (27.3) | ||
Median (Min,Max) | 0 (0, 100) | 0.5 (0.0, 100.0) | 0 (0, 100) | ||
Missing | 1 | 0 | 1 |