Question
1.The data below represent the ages of drivers and the number of accidents reported for each age group in Pennsylvania for a selected year. Age,
1.The data below represent the ages of drivers and the number of accidents reported for each age group in Pennsylvania for a selected year.
Age, x
16
18
20
22
24
26
Number of accidents, y
6605
8932
8506
7149
5925
5174
a)Use either R or an Excel spreadsheet to create a scatter plot of Number of Accidents (y) versus Age (x). Copy and paste it into to document you turn in.
b)Calculate the sample correlation coefficient (Hint: R or Excel will do this).
c)At the = 0.10 level, test for a significant correlation between age and number of accidents. State they hypotheses, test statistic, and use either the critical region method or the p-value method to make the decision.
d)Find the equation of the least squares regression line relating Number of Accidents (y) to Age (x).
e)Find and interpret the coefficient of determination (aka R-squared) for your regression equation in part d).
f)Using your regression equation from part d), find the predicted Number of Accidents associated with an age of 25 years.
g)Using your regression equation from part d), find the 90% prediction interval when x = 25 years.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started