multivariate-statistics/content/chapters/part1/3.tex

27 lines
691 B
TeX
Raw Permalink Normal View History

2023-11-16 16:47:14 +01:00
\chapter{Tests Reminders}
\section{\texorpdfstring{$\chi^2$}{chi2} test of independence}
[...]
\section{\texorpdfstring{$\chi^2$}{chi2} test of goodness of fit}
Check if the observations is in adequation with a particular distribution.
\begin{example}[Mendel experiments]
Let $AB$, $Ab$, $aB$, $ab$ be the four possible genotypes of peas: colors and grain shape.
\begin{tabular}{cccc}
\toprule
AB & Ab & aB & ab \\
\midrule
315 & 108 & 101 & 32 \\
\bottomrule
\end{tabular}
\end{example}
The test statistics is:
\[
D_{k,n} = \sum_{i=1}^{k} \frac{(N_i - np_i)^2}{np_i} \underset{H_0}{\overunderset{\mathcal{L}}{n \to \infty}{\longrightarrow}} \chi^2_{(n-1)(q-1)??}
\]