Logistische Regression
Sommersemester 2024
\(Logit(Y) = b_0 + b_1 X_i + \epsilon_i\)
plogis()
) in eine Baseline-Wahrscheinlichkeit umrechnencbbully_gen | cbvictim_gen | age | gender | internetuse | class |
---|---|---|---|---|---|
0 | 0 | 17 | female | 3.0 | G11c |
0 | 1 | 18 | female | 8.0 | G12 |
0 | 0 | 18 | male | 3.0 | G12 |
0 | 0 | 15 | male | 2.5 | G9b |
1 | 0 | 19 | male | 8.5 | G11c |
Variable | n_Obs | Mean | SD | Median | MAD | Min | Max |
---|---|---|---|---|---|---|---|
cbvictim_gen | 275 | 0.11 | 0.31 | 0 | 0 | 0 | 1 |
Parameter | Coefficient | 95% CI | z | p | Std. Coef. | Fit |
---|---|---|---|---|---|---|
(Intercept) | -2.14 | (-2.52, -1.75) | -10.89 | < .001 | -2.14 | |
AICc | 187.31 | |||||
Tjur’s R2 | 0.00 | |||||
Sigma | 1.00 | |||||
Log_loss | 0.34 |
Parameter | Coefficient | 95% CI | z | p | Std. Coef. | Fit |
---|---|---|---|---|---|---|
(Intercept) | -2.48 | (-3.13, -1.94) | -8.27 | < .001 | -2.48 | |
gender (female) | 0.69 | (-0.08, 1.50) | 1.74 | 0.082 | 0.69 | |
AICc | 186.26 | |||||
Tjur’s R2 | 0.01 | |||||
Sigma | 1.00 | |||||
Log_loss | 0.33 |
Parameter | Coefficient | CI | CI_low | CI_high | z | p | Fit | |
---|---|---|---|---|---|---|---|---|
1 | (Intercept) | 0.08 | 0.95 | 0.04 | 0.14 | -8.27 | 0.00 | |
2 | gender [female] | 2.00 | 0.95 | 0.92 | 4.46 | 1.74 | 0.08 | |
3 | ||||||||
4 | AIC | 186.22 | ||||||
5 | AICc | 186.26 | ||||||
6 | BIC | 193.45 | ||||||
7 | Tjur’s R2 | 0.01 | ||||||
9 | Sigma | 1.00 | ||||||
10 | Log_loss | 0.33 |
term | estimate | std.error | statistic | p.value | conf.low | conf.high |
---|---|---|---|---|---|---|
gender | 0.07 | 0.04 | 1.71 | 0.09 | -0.01 | 0.14 |
Parameter | Coefficient | 95% CI | z | p | Std. Coef. | Fit |
---|---|---|---|---|---|---|
(Intercept) | -2.98 | (-3.82, -2.23) | -7.41 | < .001 | -2.56 | |
gender (female) | 0.76 | (-0.02, 1.58) | 1.88 | 0.060 | 0.76 | |
internetuse | 0.19 | (0.00, 0.37) | 2.10 | 0.036 | 0.34 | |
AICc | 184.36 | |||||
Tjur’s R2 | 0.03 | |||||
Sigma | 1.00 | |||||
Log_loss | 0.32 |
term | estimate | std.error | statistic | p.value | conf.low | conf.high |
---|---|---|---|---|---|---|
gender | 0.07 | 0.04 | 1.85 | 0.06 | 0 | 0.15 |
internetuse | 0.02 | 0.01 | 1.98 | 0.05 | 0 | 0.04 |
Gelman, A., & Hill, J. (2006). Data analysis using regression and multilevel/hierarchical models. Cambridge university press.
Festl, R., Scharkow, M., & Quandt, T. (2013). Peer influence, internet use and cyberbullying: A comparison of different context effects among German adolescents. Journal of Children and Media, 7(4), 446-462.