Question: Problem 5. One - way ANOVA, randomized block design. (10 points) Do average automobile insurance costs differ for different insurance companies? The following are estimates


Problem 5. One - way ANOVA, randomized block design. (10 points) Do average automobile insurance costs differ for different insurance companies? The following are estimates (in dollars) of the cost of 6-month polices for basic liability coverage for a person with no violations or accidents, who drives between 12,600 and 15,000 miles per year, and who lives in one of indicated areas. Location Company Riverside San Bernardino Hollywood Long Beach 2 3 4 21 st Century A 736 836 1497 996 Allstate CO 745 725 138 884 AAA 568 518 1214 802 Fireman's Fund D 1065 869 150 1571 State Farm E 1202 1172 168 1272 Use R to answer the following questions. a. Do the data provide sufficient sample evidence to indicate that average insurance premiums differ from a company to company? Test appropriate hypothesis using a = 0.05. b. If there are the differences in the mean insurance premiums for different insurance companies, indicate which means differ. Use Tukey's procedure for multiple comparisons, and draw the diagram. c. Is there sufficient sample evidence to indicate that insurance premiums differ from location to location? Test appropriate hypothesis using a = 0.05. For this problem you have to present . the code required to obtain ANOVA table . ANOVA table (R output) . conclusion about the truth or falsity of null hypothesis about the equality of population means for insurance premiums in five different companies, and conclusion about the truth or falsity of null hypothesis about the equality of population means for insurance premiums in four different locations. the code required to obtain the results of Tukey's comparisons . the result of Tukey's comparisons (R output) for companies. . the diagram for population means of insurance premiums for 5 companies (A, B, C, D and E). To draw the diagram, you have to find all sample means (mean insurance premiums for 5 companies) and place the sample means in ascending order. Place the population means muA, muB, muc, muD, and muE in the same order. Use p -values obtained as the result of Tukey's HSD test to decide which population means may be considered as not significantly different. Underline these population means on the diagram
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
