Content deleted Content added
LukasGraz99 (talk | contribs) Define the model setup, SumOfSquares and Tests formally. Link to MANCOVA |
m v2.05b - Bot T5 CW#90 - Fix errors for CW project (Internal link written as an external link - Link equal to linktext) |
||
Line 9:
Assume <math display="inline">n</math> <math display="inline">q</math>-dimensional observations, where the <math display="inline">i</math>’th observation <math display="inline">y_i</math> is assigned to the group <math display="inline">g(i)\in \{1,\dots,m\}</math> and is distributed around the group center <math display="inline">\mu^{(g(i))}\in \mathbb R^q</math> with [[Multivariate normal distribution|Multivariate Gaussian]] noise: <math display="block">
y_i = \mu^{(g(i))} + \varepsilon_i\quad \varepsilon_i \overset{\text{i.i.d.}}{\sim} \mathcal N_q (0, \Sigma) \quad \text{ for } i=1,\dots, n
</math> where <math display="inline">\Sigma</math> is the [[
<math display="block">H_0\!:\;\mu^{(1)}=\mu^{(2)}=\dots =\mu^{(m)}</math>
Line 27:
* <math display="inline">\bar Y</math>: where the <math display="inline">i</math>-th row is the best prediction given no information. That is the [[Sample mean and covariance|empirical mean]] over all <math display="inline">n</math> observations <math display="inline">\frac{1}{n}\sum_{k=1}^n y_k</math>
Then the matrix <math display="inline">S_{\text{model}} := (\hat Y - \bar Y)^T(\hat Y - \bar Y)</math> is a generalization of the sum of squares explained by the group, and <math display="inline">S_{\text{res}} := (Y - \hat Y)^T(Y - \hat Y)</math> is a generalization of the [[
Note that alternatively one could also speak about covariances when the abovementioned matrices are scaled by 1/(n-1) since the subsequent test statistics do not change by multiplying <math display="inline">S_{\text{model}}</math> and <math display="inline">S_{\text{res}}</math> by the same non-zero constant.
Line 57:
{{main|Multivariate analysis of covariance}}
One can also test if there is a group effect after adjusting for covariates. For this, follow the procedure above but substitute <math display="inline">\hat Y</math> with the predictions of the [
Note that in case of unbalanced data, the order of adding the covariates matter.
|