Ch5 [General Statistics]
So we had a dataset, we got X constructed so that it was full rank and we didn't waste any time on meaningless babble about subjects nested in sequence. The number of columns of X is the rank, which is the number of rows in b, which is the number of constants we have freedom to determine. We're doing this by minimising
Almost. I often do not fit with the intercept, and then I specify Treatment as the first factor. This means we do not have an interceept column in X, and the first two columns will be the two treatment columns. This is very handy, because then the first two estimates or constants in b are the treatment effects: One for Test and one for Reference.
So we just extract these to estimates from the b-vector and use them directly for the construction of the confidence interval. Note that the residual sum of squares is not affected by this. It doesn't matter which factors you specify first or whether you want an intercept. If you have one way or another Period, Subject, Sequence, Treatment in your model, then regardless of the permutation of the order of them the mean squared error is unaffected.
ete. The story ends here, submit, get approval, celebrate.Almost. I often do not fit with the intercept, and then I specify Treatment as the first factor. This means we do not have an interceept column in X, and the first two columns will be the two treatment columns. This is very handy, because then the first two estimates or constants in b are the treatment effects: One for Test and one for Reference.
So we just extract these to estimates from the b-vector and use them directly for the construction of the confidence interval. Note that the residual sum of squares is not affected by this. It doesn't matter which factors you specify first or whether you want an intercept. If you have one way or another Period, Subject, Sequence, Treatment in your model, then regardless of the permutation of the order of them the mean squared error is unaffected.
—
Pass or fail!
ElMaestro
Pass or fail!
ElMaestro
Complete thread:
- Normal linear model 101 ElMaestro 2014-02-25 08:43
- Ch1 ElMaestro 2014-02-25 08:45
- Ch2 ElMaestro 2014-02-25 09:15
- Ch3 ElMaestro 2014-02-25 09:51
- Ch4 - the good, the bad and the ugly ElMaestro 2014-02-25 10:14
- Ch5ElMaestro 2014-02-25 10:23
- Normal linear model 101 AngusMcLean 2014-03-01 17:24
- Mixed Muddle ElMaestro 2014-03-01 20:53
- Mixed Muddle AngusMcLean 2014-03-02 17:42
- Mixed Muddle ElMaestro 2014-03-02 18:10
- Mixed Muddle AngusMcLean 2014-03-02 17:42
- Mixed Muddle ElMaestro 2014-03-01 20:53
