Question

Consider the following data: X Y 1 13 3 10 5 9 5 5 6 3...

Consider the following data:

X

Y
1 13
3 10
5 9
5 5
6 3
  1. Draw a Scatter Plot of the data.
  2. Do you believe the correlation coefficient r will be positive, negative or close to zero? Why
  3. What is your estimate to the value of Y associated with X=4?

Homework Answers

Answer #1

x=c(1,3,5,5,6)
y=c(13,10,9,5,3)
# a) scatter plot
plot=plot(x,y)


#b)
> data=data.frame(x,y)
> data
x y
1 1 13
2 3 10
3 5 9
4 5 5
5 6 3
model=lm(y~x,data=data)
>model

Call:
lm(formula = y ~ x, data = data)

Coefficients:
(Intercept) x
15.250 -1.812

R_squared=summary(model)$r.squared
R_squared
[1] 0.8212891
correlation_coefficent=sqrt(R_squared)
correlation_coefficent
[1] 0.90625

here correlation coefficent is postive quantity hence it is postive and close to one


#c) our fitted model is Y^=15.250-1.812*x
x=4
y_pred=15.250-1.812*4
y_pred
[1] 8.002

here Y associated with x=4 is  8.002

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Given the following sample data set. X= 2 3 5 6 6 Y= 10 9 7...
Given the following sample data set. X= 2 3 5 6 6 Y= 10 9 7 4 2 a. Draw a scatter diagram of the data. (using Ti 84) b. Compute the correlation coefficient r. Then use 0.05 significance level to test whether there is a linear correlation between x and y. (using Ti 84)
Consider the following data set consisting of two variables: x 0 3 5 6 8 y...
Consider the following data set consisting of two variables: x 0 3 5 6 8 y 10 9 7 4 1 (a) Draw a scatter diagram of the data. (b) Compute the correlation coecient r. (c) Is there a linear relation between x and y that you are condent about? If so, in what direction? Justify your answer.
For the sample data: x 1 3 5 5 8 y 5 - 2 2 -...
For the sample data: x 1 3 5 5 8 y 5 - 2 2 - 1 - 3 Draw the scatter plot. Based on the scatter plot, predict the sign of the linear correlation coefficient. Explain your answer. Compute the linear correlation coefficient and compare its sign to your answer to part (b).
Calculate the correlation​ coefficient, r, for the data below. x 3 5 12 9 7 6...
Calculate the correlation​ coefficient, r, for the data below. x 3 5 12 9 7 6 8 10 11 4 y -3 -1 16 8 5 1 6 10 13 -1
For the following scores, Participant X Y A 1 3 B 3 5 C 2 1...
For the following scores, Participant X Y A 1 3 B 3 5 C 2 1 D 2 3 A) Draw a scatterplot by hand. Upload a scanned copy or picture of the scatterplot. B)Based on the scatterplot: The correlation between X and Y is zero The correlation between X and Y is 1 The correlation between X and Y is positive The correlation between X and Y is negative C)Compute the Pearson Correlation Coefficient r = Note: If it...
For the following scores, Participant X Y A 1 3 B 3 5 C 2 1...
For the following scores, Participant X Y A 1 3 B 3 5 C 2 1 D 2 3 1. Draw a scatterplot by hand. Upload a scanned copy or picture of the scatterplot. 2. Based on the scatterplot: a)The correlation between X and Y is zero b)The correlation between X and Y is 1 c)The correlation between X and Y is positive d)The correlation between X and Y is negative 3. Compute the Pearson Correlation Coefficient r = 4....
Determine the Pearson product-moment correlation coefficient for the following data. x 1 10 9 7 5...
Determine the Pearson product-moment correlation coefficient for the following data. x 1 10 9 7 5 3 2 y 8 4 6 5 7 7 8 (Do not round the intermediate values. Round your answer to 3 decimal places.) Correlation coefficient, r =
The following data gives the number of hours 10 students spent studying and their corresponding grades...
The following data gives the number of hours 10 students spent studying and their corresponding grades on their exams. Hours Spent Studying 0.5 1 1.5 2 2.5 3 4.5 5 5.5 6 Grades 60 63 69 72 75 78 87 93 96 99 Step 1 of 3: Draw a scatter plot of the given data. 2 of 3: Estimate the correlation in words: positive, negative, no correlation. Step 3 of 3: Calculate the correlation coefficient, r. Round your answer to...
Determine the Pearson product-moment correlation coefficient for the following data. x 1 11 9 6 4...
Determine the Pearson product-moment correlation coefficient for the following data. x 1 11 9 6 4 3 2 y 10 4 6 5 7 7 10 (Do not round the intermediate values. Round your answer to 3 decimal places.) Correlation coefficient, r =
For the following data​ (a) display the data in a scatter​ plot, (b) calculate the correlation...
For the following data​ (a) display the data in a scatter​ plot, (b) calculate the correlation coefficient​ r, and​ (c) make a conclusion about the type of correlation. The ages​ (in years) of six children and the number of words in their vocabulary Choose the correct scatter plot ​(b) The correlation coefficient r is ____ ​(Round to three decimal places as​ needed.) ​(c) Which of the following best describes the type of correlation that exists between age and vocabulary​ size?...