Display regression table for final model
tbl_regression(
final_model,
label = list(
cell_phones_100 ~ "Cell phones per 100 people",
BS_q ~ "Basic sanitation (%)",
freedom_status ~ "Freedom status",
income_level_4 ~ "Income level",
vax_rate ~ "Vaccination rate (%)",
happiness_score ~ "Happiness score"
)) %>%
as_gt() %>%
tab_options(table.font.size = 24) | Characteristic | Beta | 95% CI | p-value |
|---|---|---|---|
| Cell phones per 100 people | 0.01 | -0.02, 0.04 | 0.7 |
| Basic sanitation (%) | |||
| [21.6,61.1] | — | — | |
| (61.1,92.8] | 4.5 | 2.0, 7.0 | <0.001 |
| (92.8,98] | 7.0 | 4.2, 9.8 | <0.001 |
| (98,100] | 9.0 | 5.8, 12 | <0.001 |
| Freedom status | |||
| NF | — | — | |
| PF | 1.2 | -0.72, 3.2 | 0.2 |
| F | -0.35 | -2.9, 2.2 | 0.8 |
| Income level | |||
| Low income | — | — | |
| Lower middle income | -0.25 | -3.4, 2.9 | 0.9 |
| Upper middle income | -0.11 | -4.2, 4.0 | >0.9 |
| High income | 3.5 | -1.8, 8.8 | 0.2 |
| Vaccination rate (%) | 0.03 | -0.08, 0.14 | 0.6 |
| Happiness score | 0.14 | 0.03, 0.25 | 0.014 |
| Abbreviation: CI = Confidence Interval | |||




