Question 5 [11 marks]
5. Perspiration from 19 healthy females was analyzed. Two components, y1 =sweat rate, and y2 =
sodium, were measured. Assume that the data is from a multivariate normal
distribution N2 (µ, l:) with unknownµ and unknown l:. The mean score and covariance matrix
ofthe score are:
- = ( 4.640)
y 45.400
S = ( 2.879 10.010)
10.010 199.788
* Test the hypothesis H0 :µ = (4, 50)' vs H1 :µ (4, 50)' at 5% level of significance. Your
solution should include the following:
5.1. State the test statistics to be used and its corresponding distribution
[2]
5.2. State the decision (rejection) rule and compute the tabulated value using an appropriate
statistical table
[2]
5.3. Compute the test statistics and write up your decision and conclusion
[7)
Question 6 [16 marks]
6. Independent samples of size n 1 = 11 and n2 = 11 were taken from populations of Katatura
homeowners with and without air conditioning, respectively. Two measurements of electrical
usage (in kilowatt hours) were made on each home: y1, a measure of total on-peak consumption
during September 2018 and, y2 , a measure of total off-peak consumption during September 2018.
The resulting summary statistics are:
Home with air
conditioning
Home without air
conditioning
Sample mean vector
(204.4)
556.6
(130.0)
355.0
Sample covariance matrices
(13.8 23.4)
23.4 73.1
(86.3 19.6)
19.6 55.9
Assuming equality of population covariance matrices and bivariate normal distributions of
observations within each group,
6.1. Compute the pooled covariance matrix
[3]
6.2. Test the hypothesis that homes with air conditioning have the same vector of means for on-
peak and off-peak consumption as home without air conditioning at 5% level of significance.
Your answer should include the following:
6.2.1. State the null and alternative hypothesis to be tested
[1]
6.2.2. State the test statistics to be used and its corresponding distribution
[2]
6.2.3. State the decision (rejection) rule and compute the tabulated value using an appropriate
statistical table
[3]
6.2.4. Compute the test statistics and write up your decision and conclusion
[7)
Page 2 of3