d <- data.frame(
id = 1:181,
trained = c(rep(0, 95), rep(1, 86)),
injured = c(rep(1, 12), rep(0, 83), rep(1, 22), rep(0, 64))
)
head(d, 5) |> knitr::kable()| id | trained | injured |
|---|---|---|
| 1 | 0 | 1 |
| 2 | 0 | 1 |
| 3 | 0 | 1 |
| 4 | 0 | 1 |
| 5 | 0 | 1 |
Pearson's product-moment correlation
data: d$trained and d$injured
t = 2.2461, df = 179, p-value = 0.02592
alternative hypothesis: true correlation is not equal to 0
95 percent confidence interval:
0.02019806 0.30408239
sample estimates:
cor
0.165568
Two Sample t-test
data: injured by trained
t = -2.2461, df = 179, p-value = 0.02592
alternative hypothesis: true difference in means between group 0 and group 1 is not equal to 0
95 percent confidence interval:
-0.24326592 -0.01573041
sample estimates:
mean in group 0 mean in group 1
0.1263158 0.2558140
Call:
lm(formula = injured ~ trained, data = d)
Residuals:
Min 1Q Median 3Q Max
-0.2558 -0.2558 -0.1263 -0.1263 0.8737
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 0.12632 0.03974 3.179 0.00174 **
trained 0.12950 0.05765 2.246 0.02592 *
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 0.3873 on 179 degrees of freedom
Multiple R-squared: 0.02741, Adjusted R-squared: 0.02198
F-statistic: 5.045 on 1 and 179 DF, p-value: 0.02592
| Dienstag | Mittwoch | Donnerstag | |
|---|---|---|---|
| 12.-14.05 | L1: Lineares Modell | Ü1: Lineares Modell | frei (Himmelfahrt) |
| 19.-21.05 | Projektarbeit (selbstständig) | L2: Erweitertes lineares Modell | Ü2: Erweitertes lineares Modell |
| 26.-28.05 | frei (Pfingstferien) | frei (Pfingstferien) | frei (Pfingstferien) |
| 02.-04.06 | Hackathlon: Paper reproduzieren | L3: Logistische Regression | frei (Fronleichnam) |
| 09.-11.06 | Ü3: Logistische Regression | L4: Machine Learning | Ü4: Machine Learning |
| … | Visualisierung mit Björn (Teil 1) | … | … |
| 30.-02.07 | L5: KI & KI-Ethik | Hackathlon: Prediction Challenge | tba… |