Multivariate Statistical Analysis Mid Term

advertisement
Multivariate Statistical Analysis Mid Term Solution
November 9, 2012
4 pages, 14 problems, 100 points
1. Eigenvalues: 9, 1
1
1
Corresponding normalized eigenvectors: [√2
]′
√2
and
1
[√2
−1 ′
√2
]
. (7%)
---------------------------------------------------------------------------------------------1
1
5 4
2. [
] = 9 [√2
] [√2
1
4 5
1
]+
√2
1
1
√2
[−1] [√2
√2
−1
√2
]=
√2
9
9
1
[29
2
9]
2
2
2
+[
1
1
−2
−2
1 ].
(7%)
2
---------------------------------------------------------------------------------------------3. max
𝐱′𝐒𝐱
𝐱≠0 𝐱′𝐱
= 9, min
𝐱′𝐒𝐱
𝐱≠0 𝐱′𝐱
= 1. (7%)
---------------------------------------------------------------------------------------------4. (1)When at least one deviation vector lies in the (hyper) plane formed by any one
linear combinations of the others
In other words, the columns of the matrix of deviations are linearly dependent
(2) When the sample size is not larger than the number of variables.
(7%)
---------------------------------------------------------------------------------------------πŸ’
5. 𝝁
Μ‚ = 𝐱̅ = [ ],
πŸ”
[
πŸ“−πŸ’ [
] πŸ“−πŸ’
πŸ•−πŸ”
Μ‚ = 𝟏 {[πŸ‘ − πŸ’] [πŸ‘ − πŸ’
𝚺
πŸ’
πŸ”−πŸ”
πŸ• − πŸ”] + [
πŸ’−πŸ’ [
] πŸ’−πŸ’
πŸ•−πŸ”
πŸ’−πŸ’ [
] πŸ’−πŸ’
πŸ” − πŸ”] + [
πŸ’−πŸ”
𝟏
πŸ• − πŸ”]} = πŸ’ [
πŸ’ − πŸ”] +
𝟐 𝟏
]. (7%)
𝟏 πŸ”
----------------------------------------------------------------------------------------------
Based on Eq. (5 - 6) or (5 - 7),
1  5 ο€­ 4οƒΉ  ο€­ 0.5οƒΉ
T 2 ο€½ n x ο€­ μ 0 ' S ο€­1 x ο€­ μ 0  ο€½ 30 0.5 1.5 οƒͺ
9  ο€­ 4 5  οƒͺ 1.5 
 ο€­ 8.5οƒΉ 10
10
ο€½  0.5 1.5οƒͺ
6.
. (7%)
οƒΊ ο€½ ο‚΄ 18.5 ο‚» 61.6667
3
 9.5  3
( n ο€­ 1) p
29 ο‚΄ 2
58
Critical value ο€½
Fp , n ο€­ p (0.05) ο€½
F2, 28 (0.05) ο‚»
ο‚΄ 3.34 ο‚» 6.92
nο€­ p
28
28
T 2 ο€Ύ critical value.  reject H 0
----------------------------------------------------------------------------------------------
From Eq. (5 - 18),
p( n ο€­ 1)
Fp ,n ο€­ p (0.1) ο‚» 5.179
nο€­ p
x ο€­ μ ' S ο€­1 x ο€­ μ  ο‚£ 5.179 ο€½ 0.17263
. (7%)
30
p( n ο€­ 1)
By Eq. (5 - 19), major axes i
Fp ,n ο€­ p (0.1) and directions e i
n( n ο€­ p )
n x ο€­ μ ' S ο€­1 x ο€­ μ  ο‚£
7.
namely, major axes 3 0.172633 ο‚» 1.2464 and 0.172633 ο‚» 0.4155.
directions
1 1οƒΉ 0.7071οƒΉ
1  1 οƒΉ  0.7071 οƒΉ
οƒͺ1οƒΊ ο‚» οƒͺ0.7071οƒΊ and
οƒͺ οƒΊο‚»οƒͺ
οƒΊ
2 
2  ο€­ 1  ο€­ 0.7071

----------------------------------------------------------------------------------------------
Use Eq. (5.24),
8.
x1 ο€­
p( n ο€­ 1)
s
Fp , n ο€­ p (0.1) 11 ο‚£ 1 ο‚£ x1 
nο€­ p
n
x2 ο€­
p( n ο€­ 1)
s
Fp , n ο€­ p (0.1) 22 ο‚£ 2 ο‚£ x2 
nο€­ p
n
p( n ο€­ 1)
s
Fp , n ο€­ p (0.1) 11
nο€­ p
n
p( n ο€­ 1)
s
Fp , n ο€­ p (0.1) 22
nο€­ p
n
p( n ο€­ 1)
Fp , n ο€­ p (0.1) ο€½ 5.17857 ο€½ 2.27565
nο€­ p
.
0.5 - 5.17857
5
5
ο‚£ 1 ο‚£ 0.5  5.17857
, 1 οƒŽ - 0.429, 1.429 
30
30
0.5 ο€­ 5.17857
5
5
ο‚£ 2 ο‚£ 0.5  5.17857
, 2 οƒŽ - 0.429, 1.429 
30
30
(7%)
---------------------------------------------------------------------------------------------From Eq. (5 - 29),
x1 ο€­ tn ο€­1 (
0.1 s11
0.1 s
)
ο‚£ 1 ο‚£ x1  tn ο€­1 ( ) 11
2p n
2p n
0.1 s22
0.1 s
)
ο‚£ 2 ο‚£ x2  tn ο€­1 ( ) 22
2p
n
2p
n
9.
t29 (0.025) ο€½ 2.045
x 2 ο€­ t n ο€­1 (
0.5 ο€­ 2.045
. (7%)
5
5
ο‚£ 1 ο‚£ 0.5  2.045
, 1 οƒŽ - 0.3349, 1.3349 
30
30
5
5
ο‚£ 2 ο‚£ 0.5  2.045
, 2 οƒŽ - 0.3349, 1.3349 
30
30
---------------------------------------------------------------------------------------------10. one-at-a-time confidence intervals: each interval consider only one dimension at a
time, don’t care the other dimensions.
0.5 ο€­ 2.045
T 2 simultaneous confidence intervals: all linear combinations of the unknown
parameters.
2
Thus T simultaneous confidence intervals are with more strict constraints, and
need longer intervals to satisfy them . (7%)
----------------------------------------------------------------------------------------------
11. Initial
estimate
~1 ο€½
42
ο€½3
2
,
~2 ο€½
6 48
ο€½6
3
(3 ο€­ 3)2  (4 ο€­ 3)2  (2 ο€­ 3)2 2 ~
(6 ο€­ 6) 2  (4 ο€­ 6) 2  (8 ο€­ 6) 2 8
~
 11 ο€½
ο€½ ,  22 ο€½
ο€½ ,
3
3
3
3
(3 ο€­ 3)( 6 ο€­ 6)  ( 4 ο€­ 3)( 4 ο€­ 6)  ( 2 ο€­ 3)(8 ο€­ 6)
4
~12 ο€½
ο€½ο€­ .
3
3
 1 οƒΉ
~11 | ~12 οƒΉ
οƒͺ
οƒΊ
~ οƒͺ
ˆ ο€½ ο€­ο€­ , Σ
Partition μ
ο€½ οƒͺ ο€­ ο€­  ο€­ ο€­ οƒΊοƒΊ , and predict
οƒͺ
οƒΊ
οƒͺ
οƒͺ~12 | ~22 
 2 οƒΊ

4 3
ο€­1
~
x11 ο€½ ~1  ~12~22
( x12 ο€­ ~2 ) ο€½ 3  ( ο€­ ) (6 ο€­ 6) ο€½ 3
3 8
~
2  4οƒΆ 3 4οƒΆ
2
ο€­1
x11
ο€½ ~11 ο€­ ~12~22
 12  ~
x112 ο€½ ο€­  ο€­ οƒ·  ο€­ οƒ·  32 ο€½ 9
3  3οƒΈ 8 3οƒΈ
~
x11x12 ο€½ ~
x11x12 ο€½ 3 ο‚΄ 6 ο€½ 18
~
~  x11  x21  x31 οƒΉ 3  6οƒΉ  9 οƒΉ
T1 ο€½ οƒͺ
οƒΊο€½οƒͺ
οƒΊο€½οƒͺ οƒΊ
 x12  x22  x32   18  18
~

2
2
2
~ οƒͺ
x11
 x21
 x31
T2 ο€½
οƒͺ x ~x  x x  x x
 11 12 21 22 31 32
~
~ ο€½ T1 ο€½ 3οƒΉ ,
μ
n οƒͺ6
 29
~
~ T2 ~ ~ οƒͺ 3
Σο€½
ο€­ μμ ο€½ οƒͺ
50
n
οƒͺ
3
~
οƒΉ
x11x12  x21x22  x31x32 οƒΊ 29 50 οƒΉ
ο€½οƒͺ
50 116
2
2
2
οƒΊ

x12  x22  x32

50 οƒΉ
 2
3
οƒΊ

οƒΉ
3 ο€­ 3 6 ο€½ οƒͺ 3
οƒͺο€­ 4
116 οƒΊ οƒͺ6
οƒΊ
οƒͺ
3 
 3
ο€­ 4οƒΉ
3 οƒΊ
8 οƒΊ
οƒΊ
3 
. (7%)
---------------------------------------------------------------------------------------------12. Eq. (6-21), p. 285, Textbook
n1 ο€­ 1
n2 ο€­ 1
60 5 4οƒΉ 60 7 2οƒΉ 6 3οƒΉ
S pooled ο€½
S1 
S2 ο€½

ο€½
.
n1  n2 ο€­ 2
n1  n2 ο€­ 2
120 οƒͺ4 5 120 οƒͺ2 7 οƒͺ3 6
Eq. (6-24), p. 286, Textbook
,
 1 1 οƒΆ
οƒΉ
T ο€½ x1 ο€­ x2 ' οƒͺ  οƒ·οƒ·S pooled οƒΊ
 n1 n2 οƒΈ

ο€­1
x1 ο€­ x2  ο‚» 47.4444 ,
2
larger than the critical value
( n1  n2 ο€­ 2) p
120 ο‚΄ 2
240
Fp , n1  n2 ο€­ p ο€­1 ( ) ο€½
F2,120 (0.1) ο‚»
ο‚΄ 2.35 ο‚» 4.74 .
( n1  n2 ο€­ p ο€­ 1)
119
119
Thus the
hypothesis H 0 : μ1 ο€½ μ 2 is rejected at 10% significance level. (7%)
---------------------------------------------------------------------------------------------Follow the equation in p. 291,
1i ο€­ 2i : ( x1i ο€­ x2i ) ο‚± tn
1  n2
ο€­2
13. 11 ο€­ 21 : ο€­ 2 ο‚± t120 (0.025)
12 ο€­ 22 : 1 ο‚± t120 (0.025)
(

1 1οƒΆ
)   οƒ·οƒ· sii, pooled
2 p  n1 n2 οƒΈ
2
ο‚΄ 6 ο‚» ο€­2 ο‚± 1.98 ο‚΄ 0.4435, i.e., (-2.88, - 1.12)
61
.
2
ο‚΄ 6 ο‚» 1 ο‚± 1.98 ο‚΄ 0.4435, i.e., (0.12, 1.88)
61
(7%)
---------------------------------------------------------------------------------------------14. Assume that the pair of paired samples are with n data, mean difference 𝑑̅ , and
standard deviation of difference sd. The confidence interval by the paired
𝛼 𝑠
comparison is 𝑑̅ ± 𝑑𝑛−1 ( 2 ) 𝑑𝑛. While if we use the unpaired method to the same
√
𝛼
1
1
paired samples, the confidence interval will be 𝑑̅ ± 𝑑𝑛+𝑛−2 ( 2 ) √(𝑛 + 𝑛) π‘ π‘π‘œπ‘œπ‘™π‘’π‘‘
Since
𝑛−1
𝑛−1
π‘ π‘π‘œπ‘œπ‘™π‘’π‘‘ = 𝑛+𝑛−2 𝑠𝑑 + 𝑛+𝑛−2 𝑠𝑑 = 𝑠𝑑 ,
the
confidence
interval
using
unpaired method can be reduced to
𝛼
1 1
𝛼 2
𝑑̅ ± 𝑑𝑛+𝑛−2 ( ) √( + ) π‘ π‘π‘œπ‘œπ‘™π‘’π‘‘ = 𝑑̅ ± 𝑑2𝑛−2 ( ) √ 𝑠𝑑
2
𝑛 𝑛
2 𝑛
The lengths of the confidence intervals for the paired and the unpaired methods
𝛼 𝑠𝑑
will be 2𝑑𝑛−1 ( 2 )
√𝑛
𝛼 √2𝑠𝑑
.
√𝑛
and 2𝑑2𝑛−2 ( 2 )
𝛼
Because for n not too small, 𝑑𝑛−1 ( 2 )
𝛼 𝑠𝑑
does not larger than √2𝑑2𝑛−2 (𝛼), 2𝑑𝑛−1 ( 2 )
√𝑛
Thus the paired method is more accurate. (9%)
𝛼 √2𝑠𝑑
.
√𝑛
is smaller than 2𝑑2𝑛−2 ( 2 )
Download