Professional Documents
Culture Documents
Exercise 2
Tutorial Exercise.
2 12
8 9
1. Consider the data matrix X =
6 9 .
8 10
2 7
Use Hotelling’s T to test the hypothesis H0 : µ = . What assumptions are
11
necessary to perform this test?
(a) Write down an expression for the statistic used to test the hypothesis that the
population mean vector is (80, 60, 15)T . The T 2 statistic takes the value 13.37.
Carry out the test.
(b) Formulate a statistic to test the hypothesis that µ1 /5 = µ2 /4 = µ3 . Carry out the
test given that the test statistic takes the value 25.79.
3. (a) Measurements on cranial length (x1 ) and cranial breadth (x2 ) on a sample of 35
female frogs gave
T 17.178 19.710
x = (22.860, 24.397) and S X = .
23.710
Data on 9 mandible measurements (in mm) for samples drawn from different species of
dog are stored in R in canine1 (modern Thai dogs) and canine2 (golden jackals). You can
obtain the data using
canine1 = read.table(file =
url("http://www.maths.usyd.edu/u/UG/SM/STAT3014/r/Data/canine1.dat"))
and
canine2 = read.table(file =
url("http://www.maths.usyd.edu/u/UG/SM/STAT3014/r/Data/canine2.dat"))
1. Calculate the mean and covariance matrix for the two groups.
2. Test the hypothesis that the two dog populations have equal mean vectors.
3. Test that the two populations have common mean values for the subvector consisting
of variables V 5, V 6, V 7, and V 8.