



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!




STAT 530/J530 B.Habing Univ. of S.C. (^1)
STAT 530/J530 B.Habing Univ. of S.C. (^2)
Today
Data Matrix
Summary Parameters and Statistics
A Hint of Matrices
What if Some Data is Missing?
STAT 530/J530 B.Habing Univ. of S.C. (^3)
Using R, make two variables containing the
ratings of “Low Energy Use”, one for males and one for females.
STAT 530/J530 B.Habing Univ. of S.C. (^4)
Conduct a two sample t-test to see whether there is a difference between the genders…
STAT 530/J530 B.Habing Univ. of S.C. (^5)
…and check the assumptions using a q-q plot. Summarize your results.
STAT 530/J530 B.Habing Univ. of S.C. (^6)
Multivariate Data is typically presented in
a matrix, with each of then rows being a different observation, and each of theq columns being a different variable.
n n nj nq
i ij iq
q
j q
x x x x
x x x
x x x
x x x x
1 2
1
21 22 2
11 12 1 1
STAT 530/J530 B.Habing Univ. of S.C. (^10)
The covariance is thus a matrix:
q qq
q
1
21 11
11 12 1
STAT 530/J530 B.Habing Univ. of S.C. (^11)
And is estimated by the sample
covariance matrix:
Where is thei th^ observation.
(x x)(x x) S 1
1
21 11
11 12 1
n s s
s s
s s s n i
T i i
q qq
q
in
i i x
x M
1 x
STAT 530/J530 B.Habing Univ. of S.C. (^12)
The Covariance Matrix is commonly
rescaled to be the correlation matrix:
Where
q qq
q
ρ ρ
ρ ρ
ρ ρ ρ
1
21 22
11 12 1
ii jj
ij ij σ σ
σ ρ =
STAT 530/J530 B.Habing Univ. of S.C. (^13)
STAT 530/J530 B.Habing Univ. of S.C. (^14)
STAT 530/J530 B.Habing Univ. of S.C. (^15)