Question

In: Statistics and Probability

Linear Regression and Correlation. x y 2 4.64 3 6.76 4 3.08 5 5.5 6 -5.88...

Linear Regression and Correlation.

x y
2 4.64
3 6.76
4 3.08
5 5.5
6 -5.88
7 1.04
8 0.56
9 -2.42


Compute the equation of the linear regression line in the form y = mx + b, where m is the slope and b is the intercept.

Use at least 3 decimal places. (Round if necessary)
y =_____ x + _____

Compute the correlation coeficient for this data set. Use at least 3 decimal places. (Round if necessary)
r= ____

Compute the P-value (Use HA: slope ≠ 0 for the alternative hypothesis.)

Use at least 3 decimal places. (Round if necessary)
P-value = ____

At the alpha = 0.05 significance level, is the correlation significant?

  • No
  • Yes, significant correlation

Solutions

Expert Solution

The following data are passed:

X Y
2 4.64
3 6.76
4 3.08
5 5.5
6 -5.88
7 1.04
8 0.56
9 -2.42

The independent variable is X, and the dependent variable is Y. In order to compute the regression coefficients, the following table needs to be used:

X Y X*Y X2 Y2
2 4.64 9.28 4 21.5296
3 6.76 20.28 9 45.6976
4 3.08 12.32 16 9.4864
5 5.5 27.5 25 30.25
6 -5.88 -35.28 36 34.5744
7 1.04 7.28 49 1.0816
8 0.56 4.48 64 0.3136
9 -2.42 -21.78 81 5.8564
Sum = 44 13.28 24.08 284 148.7896

Based on the above table, the following is calculated:

Therefore, based on the above calculations, the regression coefficients (the slope m, and the y-intercept n) are obtained as follows:

Therefore, we find that the regression equation is:

Y = 8.0714 - 1.1657 X

Therefore, based on this information, the sample correlation coefficient is computed as follows

which completes the calculation.

The following needs to be tested:

The sample size is n = 8 , so then the number of degrees of freedom is df = n-2 = 8 - 2 = 6

The corresponding t-statistic to test for the significance of the correlation is:

The p-value is computed as follows:

Since we have that p = 0.0685 ≥0.05, it is concluded that the null hypothesis H0​ is not rejected.

Therefore, based on the sample correlation provided, it is concluded that there is not enough evidence to claim that the population correlation ρ is different than 0, at the 0.05 significance level.


Related Solutions

Linear Regression and Correlation. x y 2 10.16 3 2.19 4 3.12 5 -1.75 6 7.48...
Linear Regression and Correlation. x y 2 10.16 3 2.19 4 3.12 5 -1.75 6 7.48 7 9.31 Compute the equation of the linear regression line in the form y = mx + b, where m is the slope and b is the intercept. Use at least 3 decimal places. y =__x +___ Compute the correlation coeficient for this data set. Use at least 3 decimal places. r=   Compute the P-value (Use H_A: slope ≠ 0 for the alterantive hypothesis.)...
ID X Y 1 2 3 2 3 6 3 4 6 4 5 7 5...
ID X Y 1 2 3 2 3 6 3 4 6 4 5 7 5 8 7 6 5 7 7 6 7 8 8 8 9 7 8 10 12 11 Test the significance of the correlation coefficient. Then use math test scores (X) to predict physics test scores (Y).  Do the following: Create a scatterplot of X and Y. Write the regression equation and interpret the regression coefficients (i.e., intercept and slope). Predict the physics score for each....
X 1 3 5 3 4 4 Y 2 5 4 3 4 6 A: Plot...
X 1 3 5 3 4 4 Y 2 5 4 3 4 6 A: Plot the date B: find the line of best fit C: determine ŷ AT x=3 D: Find r and r^2 E: explain r and r^2
2. Consider the following data: x= 1, 2, 3, 4, 5 y =3, 2, 4, 6,...
2. Consider the following data: x= 1, 2, 3, 4, 5 y =3, 2, 4, 6, 5 By hand, not using Matlab, and showing your work: (a) Compute the correlation coefficient. (b) Find the least-squares line. (c) Find the standard deviation around the least-squares line.
x 1 2 3 4 5 6 y 1057 1510 2151 3499 5146 7261 Use linear...
x 1 2 3 4 5 6 y 1057 1510 2151 3499 5146 7261 Use linear regression to find the equation for the linear function that best fits this data. Round to two decimal places. Y=
x 2 8 5 9 4 3 9 6 7 8 y 3 6 5 7...
x 2 8 5 9 4 3 9 6 7 8 y 3 6 5 7 9 7 4 6 9 9 -5.48x + 0.17 5.48x + 0.17 -0.17x + 5.48 0.17x + 5.48
Consider the following set of ordered pairs. x 4 2 4 3 6 4 y 5...
Consider the following set of ordered pairs. x 4 2 4 3 6 4 y 5 7 7 4 2 7 ​a) Calculate the correlation coefficient. ​b) Using alpha equals 0.05​, perform a hypothesis test to determine if the population correlation coefficient is less than zero. LOADING... Click the icon to view a portion of the​ Student's t-distribution table. ​a) requals nothing ​(Round to three decimal places as​ needed.) ​b) Determine the null and alternative hypotheses. Upper H 0​: rho...
Determine the correlation for the following joint probability distribution: x 2 4 2 4 y 3...
Determine the correlation for the following joint probability distribution: x 2 4 2 4 y 3 4 5 6 fx,y(x,y) 1/8 1/4 1/2 1/8 a. Correlation = 0.6387 b. Correlation = 0.0377 c. Correlation = 0.3737 d. Correlation = 0.8023
Consider the following data table: x 8 5 4 6 2 5 3 y 1 3...
Consider the following data table: x 8 5 4 6 2 5 3 y 1 3 6 3 7 2 5 (15 points) Create a scatterplot of the data either by hand or with a computer.  Does there appear to be a linear relationship between x and y?  If so, what is the strength and direction of the relationship? (20 points) Give the Simple Linear Regression Model, using x as the predictor variable and y as the response variable.  What is the meaning...
1) Define the sets X ={ 1, 2, 3} and Y = {4, 5, 6}. Now,...
1) Define the sets X ={ 1, 2, 3} and Y = {4, 5, 6}. Now, define the relation R from X to Y by xRy if and only if x − y is even. Find all of the elements in R. 2) Define the relation R on ℤ by mRn if and only if 2|(m − n). Show that R is an equivalence relation.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT