Docsity

Lecture Notes on Multivariate Statistics: Going Multivariate in PSY 444, Fall 2007 - Prof., Study notes of Descriptive statistics

Toggle sidebar
bg1
PSY 444 — Fall, 2007 — Lecture Notes for Going Multivariate Page 26
Going Multivariate
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)
5.1 The Multivariate Normal Distribution
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πσ2e
−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−µ)0Σ−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 χ2distribution:
(Y−µ)0Σ−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.
5.2 A Test Statistic for the Multivariate Normal Distribution
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 H0:µ0=constant
[B] The multivariate null hypothesis is H0:µ0=
constant1
constant2
.
.
.
constantp
pf3

Partial preview of the text

Download Lecture Notes on Multivariate Statistics: Going Multivariate in PSY 444, Fall 2007 - Prof. and more Study notes Descriptive statistics in PDF only on Docsity!

Going Multivariate

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)

 5.1 The Multivariate Normal Distribution

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.

 5.2 A Test Statistic for the Multivariate Normal Distribution

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

)(S

2

y

− 1 (¯y − μ)

[D] It is this last form that we can generalize to a multivariate case:

T

2 = n(

Y − μ)

′ S

− 1

y

Y − μ) ∼

(n−1)p

n−p

Fp,n−p or

n−p

(n−1)p

T

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 )

′ (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.

 5.3 Multivariate Hypotheses Testing for Two Populations

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

SSCP

i

= (Y −

Y

i

′ (Y −

Y

i

W = SSCP

1

+ SSCP

2

= within-groups SSCP

S

p

W

n 1 −1+n 2 − 1

T

2

n 1 n 2

n 1 +n 2

Y 1 −

Y 2 )

′ S

− 1

p

Y 1 −

Y 2 )

[C] The distribution is given as follows:

n 1 +n 2 −p− 1

(n 1 +n 2 −2)p

T

2 ∼ F p,N −p− 1

, where N = n 1

  • n 2

[D] We can also compute Wilk’s Λ:

W = SSCP

1

+ SSCP

2

= (Y −

Y

1

′ (Y −

Y

1

) + (Y −

Y

2

′ (Y −

Y

2

) = (Y −

Y )

′ (Y −

Y ) =

B = (

Y −

Y

·

′ (

Y −

Y

·

T = (Y −

Y

·

′ (Y −

Y

·

)B + W =

0

|W |

|T |

W

B+W