

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


We spent some considerable effort developing a facile understanding of the GLM, casting each of our
univariate statistical procedures as “special cases” of the GLM, including regression, correlation, one-
sample t-test, related samples t-test, 2 independent samples t-test, ANOVA, regression, and multiple
regression. We achieved these special cases by playing around with a design matrix, X, in the GLM
(Y = Xβ + E)
As in univariate statistics, we need to know the distribution of a statistic under the null (assuming the
null hypothesis is true). Using that distribution, we can determine the probability of results as extreme
or more extreme than those obtained based on this assumption that the null is true. If this probability
(p-value) is small, however, then we can reject the null hypothesis.
[A] The univariate normal distribution function is given by
f (y) =
1 √
2 πσ
2
e
−1(y−μ)
2
2 σ
2
[B] The multivariate normal distribution has a similar form given by
f (y) =
1
(2π)
2
p
|Σ|
e
−1(Y −μ)
′ Σ
− 1 (Y −μ)
2
[C] If we consider p=1, then we see that the univariate normal distribution is a special case of the
multivariate normal distribution.
[D] A somewhat simpler distribution, however, is given by the χ
2 distribution:
(Y − μ)
′ Σ
− 1 (Y − μ) ∼ χ
2
p
[E] Using this relationship with a given significance level, we can find “contours” of the multivariate
normal distribution. They form elipses. If the variances of both DVs are equal, then the elipse
will appear as a circle. As the two variables are more correlated, the elipse will appear more
drawn out.
To test hypotheses about a single sample, from a single population, we need a test statistic that will
reflect deviations of our sample means from the vector of means stated in the null hypothesis.
[A] The univariate null hypothesis is H 0
: μ 0
= constant
[B] The multivariate null hypothesis is H 0
: μ 0
constant 1
constant 2
constant p
[C] In the univariate case, we have
t =
¯ Y −μ
s¯y
and t
2 = n(
Y − μ 0
2
y
− 1 (¯y − μ)
[D] It is this last form that we can generalize to a multivariate case:
2 = n(
Y − μ)
′ S
− 1
y
Y − μ) ∼
(n−1)p
n−p
Fp,n−p or
n−p
(n−1)p
2 ∼ F p,n−p
[E] The T
2 (Hotelling’s T
2 ) is not completely generalizable, so we should consider another test
statistic, based on the likelihood ratio.
Likelihoodratio =
(
|
ˆ Σ|
ˆ |
ˆ Σ 0 |
) n
2
, where
′ (Y −
Y ) and
Σ 0 = (Y − μ 0 )
′ (Y − μ 0 )
[F] We rescale this to rid ourselves of the power:
W ilk
′ sΛ = Λ
2
n (^) =
|
ˆ Σ|
|
ˆ Σ 0
|
(
T
2
n− 1
) − 1
[G] And if that’s not enough, we have Hotelling’s Trace:
T race =
T
2
df
T
2
n− 1
[H] In each case, if the observed mean vector is different from the hypothesized vector of means, far
enough that the p-value is less than α, then we reject the null hypothesis.
It is actually pretty rare to have hypotheses about a vector of means being equal to a constant. It
is much more common to want to test the equality of two vectors of means from two samples, drawn
from two population
[A] The null hypothesis is H 0 : μ 1 = μ 2
[B] Our test statistic is given by
i
i
′ (Y −
i
1
2
= within-groups SSCP
p
W
n 1 −1+n 2 − 1
n 1 n 2
n 1 +n 2
′ S
− 1
p
[C] The distribution is given as follows:
n 1 +n 2 −p− 1
(n 1 +n 2 −2)p
2 ∼ F p,N −p− 1
, where N = n 1
[D] We can also compute Wilk’s Λ:
1
2
1
′ (Y −
1
2
′ (Y −
2
′ (Y −
·
′ (
·
·
′ (Y −
·
0
|W |
|T |
W
B+W