ASSIGNMENT TITLE - Analysis of Variance
Q1. An employment agency gives an aptitude test to all clients. The results of this test are analysed according to the type of college degree held by the clients. The test results for eight randomly selected clients of each degree type are given in the table below.
(a) Under the assumption of normality, set up the null and alternative hypotheses and carry out the analysis using R. Interpret the practical meaning of the results of this analysis.
(b) Using the summary output from the above analysis, perform multiple comparisons (Bonferroni) of the mean scores by degree at 10% significance level (use appropriate confidence intervals.) What is the individual level for each comparison? Explain which means differ.
(c) Repeat for the Holm method using R. Explain the differences in conclusions if any.
(d) Suppose we are only interested in the differences between liberal and fine arts, and also between engineering and science graduates. Set up appropriate contrasts, provide analysis, report on the p-values and 90% confidence intervals, and interpret the results.
(e) Check the assumptions and comment on the trustworthiness of the results.
COLLEGE DEGREE TYPE
|
Business
|
49
|
34
|
45
|
59
|
74
|
53
|
51
|
57
|
Science
|
77
|
65
|
71
|
85
|
79
|
91
|
60
|
72
|
Liberal arts
|
50
|
41
|
65
|
57
|
62
|
47
|
59
|
48
|
Fine arts
|
37
|
26
|
52
|
39
|
44
|
50
|
41
|
35
|
Engineering
|
88
|
70
|
95
|
77
|
81
|
89
|
62
|
83
|
Q2. Consider the table overleaf. Here, A and B are two fertilizer types; M, N, O, and P are four wheat types, the values are wheat yields in bushels per plot.
(a) Set up the hypotheses and perform the tests. Also, perform a graphical analysis to check for interactions. Report the final model. i.e. the model with significant effects only.
(b) Calculate Bonferroni 90% confidence intervals for the differences of the effects due to wheat types (μ.M - μ.N, etc.) What are your conclusions?
(c) Calculate 95% confidence interval for μBO.
(d) Define two pair wise contrasts: Wheat type N versus type O, type O versus type P, and report estimates, 95% confidence intervals and the p-values for each contrast.
(e) Check that the assumptions are satisfied and report your conclusions.
(f) Write a short report summarizing your methods and results.
|
Wheat type
|
|
M
|
N
|
O
|
P
|
Fertilizer A
|
19.4
|
24.0
|
24.8
|
24.3
|
20.6
|
24.5
|
25.4
|
23.7
|
Fertilizer B
|
21.6
|
25.6
|
26.4
|
25.4
|
22.1
|
26.8
|
27.0
|
24.5
|