QUESTION 5 Use the results from previous calculations to find the Linear Correla
ID: 3061188 • Letter: Q
Question
QUESTION 5 Use the results from previous calculations to find the Linear Correlation Coefficient. r, of the following data. y- 80 80-170-190-T60 QUESTION 6 Does it pay to study for an exaim? The number of hours studied, x. is compared to the exam grade received y 4 y 8080 70 9060 Find the slope by of the Line of Best ft Round your answer to the nearest hundredth (two decimal places) QUESTION 7 Does t pay to study fro an exam? The number of hours studied, x is compared to the exam grade received y 4 Find the y-intercept bo of the ine of best ft. lRound your anr t theert hundridth) You may use results from previous problemExplanation / Answer
5) 0.61
6) 4.26
7) 64
R code:
x=c(2,5,1,4,2)
y=c(80,80,70,90,60)
cor(x,y)
#regression
r=lm(y~x)
r