|
(1) |
edlevelBelow GCSE |
-0.206 |
|
(0.206) |
edlevelGCSE |
-0.024 |
|
(0.143) |
edlevelNo qualifications |
-0.538 |
|
(0.129) |
edlevelPostgrad |
1.371 |
|
(0.163) |
edlevelUndergraduate |
0.842 |
|
(0.122) |
Not at all interested|Not very interested |
-1.828 |
|
(0.111) |
Not very interested|Fairly interested |
-0.407 |
|
(0.100) |
Fairly interested|Very interested |
1.747 |
|
(0.108) |
N |
2154.000 |
logLik |
-2635.753 |
AIC |
5287.506 |
*** p < 0.001; ** p < 0.01; * p < 0.05. |
]
---
# I see no stars!
.pull-left[

Brian Ripley, author of the MASS package.
]
.pull-right[
You'll notice that there are no significance stars in the last table.
`huxreg` relies on `broom::tidy`, and `broom::tidy` results on `MASS::summary.polr`.
`summary.polr` doesn't report p-values because the package author has... **opinions** on p-values.
]
---
# Over-riding p-values
.pull-left[
```r
coef_vals <- broom::tidy(mod) %>%
mutate(abs_tval = abs(statistic),
pval = pnorm(abs_tval, lower.tail = FALSE) * 2)
fixed_mod <- tidy_override(mod,
p.value = coef_vals$pval,
extend = TRUE)
huxreg(fixed_mod)
```
```
## Warning in huxreg(fixed_mod): Unrecognized statistics: r.squared
## Try setting `statistics` explicitly in the call to `huxreg()`
```
]
.pull-right[