TU Wien:Statistik und Wahrscheinlichkeitstheorie UE (Levajkovic)/Übungen 2022W/HW11.3
- -test for independence (without
R
)100 students from major computer science of three Viennese Universities were randomly chosen and asked which lecture of mathematics (a: calculus, b: algebra, c: probability) they enjoyed most. The frequencies are given in the following table: (Note: table #1 below)
Perform a -test to test whether the preference for a lecture is independent from the university, on a 5% significance level. Only use the following table which gives the 95%−quantile of the -distribution with degrees of freedom. (Note: table #2 below)
{{Beispiel|1= Angabetext }}
oder
{{Beispiel| Angabetext }}
zu (im Falle einer korrekten, unverifizierten Lösung "solved". Auch möglich "unsolved", "wrong", "verified_by_tutor". Alle möglichen Werte sind hier: Vorlage:Beispiel dokumentiert.)
{{Beispiel|status=solved|1= Angabetext }}
Uni A | Uni B | Uni C | |
---|---|---|---|
calculus | 10 | 5 | 5 |
algebra | 10 | 20 | 10 |
probability | 20 | 5 |
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | |
---|---|---|---|---|---|---|---|---|---|
3.84 | 5.99 | 7.81 | 9.49 | 11.07 | 12.59 | 14.07 | 15.51 | 16.92 |
Lösung von Tutorin[Bearbeiten | Quelltext bearbeiten]
The missing value is 15 ().
The marginal frequencies are
Uni A | Uni B | Uni C | ||
---|---|---|---|---|
calculus | 10 | 5 | 5 | 20 |
algebra | 10 | 20 | 10 | 40 |
probability | 20 | 5 | 15 | 40 |
40 | 30 | 30 | 100 |
The (estimated) expected frequencies under
Uni A | Uni B | Uni C | ||
---|---|---|---|---|
calculus | 8 | 6 | 6 | 20 |
algebra | 16 | 12 | 12 | 40 |
probability | 16 | 12 | 12 | 40 |
40 | 30 | 30 | 100 |
Thus, the -statistic is
Compare with the -distribution. . Thus we reject with .
Dieses Beispiel hat noch keinen Lösungsvorschlag. Um einen zu erstellen, kopiere folgende Zeilen, bearbeite die Seite und aktualisiere den status=unsolved
Mögliche status=...
Werte stehen hier: Vorlage:Beispiel
== Lösungsvorschlag von ~~~ == --~~~~
Siehe auch Hilfe:Formeln und Hilfe:Beispielseiten.