Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

AT&T; LTE 2:59 PM a mybelmont.belmontcollege.edu C Week #10 Attendance Quiz: Cha

ID: 2907311 • Letter: A

Question

AT&T; LTE 2:59 PM a mybelmont.belmontcollege.edu C Week #10 Attendance Quiz: Chapter 12 Weekly Attendance Quiz in Chapter 12 Time limit: No time limit Length: 7 questions Scored out of: 5 Points 3Exit this Weekly Attendance Quiz Chapter 12: Question 2 4 You will use the following data for all of the questions. (2pts) Let x be the age in years of a licensed automobile driver. Let y be the percentage of all fatal accidents (for a given age) due to speeding. For example, the first data pair indicates that 36% of all fatal accidents involving 17-year- olds are due to speeding. 27 47 57 67 Find the sample mean for x (round to the nearest whole number) and y (round to 2 decimal places) 5) Find a and b. Round your answer to 3 decimal places. 2pts extra credit) 6) Write the equation of the least squares line y abx.1pts extra credit) ) Predict the percentage of all fatal accidents due to speeding for 25-year-olds. Round your answer to 2 decimal places. ( 1 pts extra credit)

Explanation / Answer

> x <- c(17,27,37,47,57,67,77);length(x);x
[1] 7
[1] 17 27 37 47 57 67 77
> y<- c(36,25,20,12,10,7,5) ; length(y);y
[1] 7
[1] 36 25 20 12 10 7 5
> mean(x);round(mean(y),2)
[1] 47
[1] 16.43
> reg <- lm(y ~ x); reg

Call:
lm(formula = y ~ x)

Coefficients:
(Intercept) x  
39.7607 -0.4964  

> temp <- data.frame(x = c(25))
> predy <- predict(reg , temp);predy
1
27.35

a) sample mean of x = 47

sample mean of y =16.43

b) a=39.761

b = -0.496

c)regression equation =

39.761 + 0.496 * x

d)prediction = 27.35

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote