Question

In: Statistics and Probability

Fourth Question: The table below represents a relationship between two variables X and Y x 7,8,4,3,9,5,7,1,2...

Fourth Question: The table below represents a relationship between two variables X and Y
x 7,8,4,3,9,5,7,1,2
y 8,10,5,2,12,3,9,1,1

a) Calculate the Pearson correlation coefficient between the X and Y variables.
B) Find the y regression equation for X for the cooked data
c) Calculate the estimated value (prediction) of the variable Y when the value of the variable X is equal to 5. What is the error value of the estimate?

Solutions

Expert Solution

Here in this Question the given data of x independent variable and y dependent variable.

A) The Pearson's correlation coefficient between x and y is calculated as below,

The scatter plot of data is,

The formula for correlation coefficient is :

Now based on given data we calculated,

Result Details & Calculation

X Values
∑ = 46
Mean = 5.111
∑(X - Mx)2 = SSx = 62.889

Y Values
∑ = 51
Mean = 5.667
∑(Y - My)2 = SSy = 140

X and Y Combined
N = 9
∑(X - Mx)(Y - My) = 90.333

R Calculation
r = ∑((X - My)(Y - Mx)) / √((SSx)(SSy))

r = 90.333 / √((62.889)(140)) = 0.9627

r = 0.9627

The value of R Pearson correlation coefficient between x and y is 0.9627.

This is a strong positive correlation, which means that high X variable scores go with high Y variable scores.

The value of R2, the coefficient of determination, is 0.9268.

B) The regression equation for y is calculated as below,

From the given data we have ,

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

X Y X*Y X^2 Y^2
7 8 56 49 64
8 10 80 64 100
4 5 20 16 25
3 2 6 9 4
9 12 108 81 144
5 3 15 25 9
7 9 63 49 81
1 1 1 1 1
2 1 2 4 1
Sum = 46 51 351 298 429.

  Based on the above table, the following is calculated:

This is the y regression equation for x from given data. So using the above regression equation we can predict the value of y Variable based on x variable.

C) The predicted value of y at given value of x is 5 is given below,

Y=−1.6749+1.4364 × 5 (x)

Y = 5.5071

Now this is the predicted value of y at given value of x is 5. Here only we have substitute the value of x and we get the predicted value of y.

C) Similarly the error value of estimate is the difference between observed value and predicted value it is also called as residual. It is calculated using following formula,

The observed value at x= 5 is 4 and from B) the predicted value is 5.5071.

Residual (e) = Yi - Y^

Residual (e) = 4 - 5.5071

Residual (e) = -1.5071.

This is the error estimate of y at x = 5 .

Hope you understood.

Thank you.


Related Solutions

a. Calculate the covariance between variables X and Y. Is it a positive or negative relationship between the two variables?
Observation x y 1 -22 22 2 -33 49 3 2 8 4 29 -16 5 -13 10 6 21 -28 7 -13 27 8 -23 35 9 14 -5 10 3 -3 11 -37 48 12 34 -29 13 9 -18 14 -33 31 15 20 -16 16 -3 14 17 -15 18 18 12 17 19 -20 -11 20 -7 -22 Answer the following questions a. Calculate the covariance between variables X and Y. Is it a positive...
The table below gives the joint distribution between random variables X and Y . y 0...
The table below gives the joint distribution between random variables X and Y . y 0 2 4 x 0 0.03 0.01 0.20 1 0.15 0.10 0.51 (a). [4pts] Find P(X = 0, Y = 2). 1 Problem 2(b). [6pts] Find E[X]. Problem 2(c). [6pts] Find Cov(X, Y ). Problem 2(d). [6pts] Find P(X = 1|Y = 2).
for the quantitative variables x and y are given in the table below. These data are...
for the quantitative variables x and y are given in the table below. These data are plotted in the scatter plot shown next to the table. In the scatter plot, sketch an approximation of the least-squares regression line for the data. x y 7.4 6.6 4.0 5.0 2.0 3.9 3.1 5.0 9.4 8.4 4.7 5.9 6.6 6.2 8.5 6.9 7.9 7.3 1.6 3.7 4.4 4.6 2.8 3.9 2.7 3.1 5.7 6.3 5.9 7.3 9.7 8.3 6.9 6.3 8.8 8.4 x...
Calculate the covariance between variables X and Y. Is it a positive or negative relationship between...
Calculate the covariance between variables X and Y. Is it a positive or negative relationship between the two variables? b. Calculate correlation coefficient between X and Y. Is it a positive or negative relationship? Is it a strong linear, weak linear or nonlinear relationship between X and Y? c. Use the Y data to calculate mean, range, standard deviation and variance. d. Use the first Y value to calculate the Z-score. Is it an outlier? e. Calculate the 60th percentile...
The following data in the table below represents the relationship between the number of workers and...
The following data in the table below represents the relationship between the number of workers and their outputs in a company for a given day in the short-run: Workers Output P Marginal Product MP Variable Cost VC Fixed Cost FC Total Cost TC Average Variable Cost AVC Average Fixed Cost AFC Average Total Cost TC Marginal Cost MC 0 0 0 1 12 2 2 21 6 3 27 12 4 30 35 5 32 80 6 33 160 1-  ...
The following data in the table below represents the relationship between the number of workers and...
The following data in the table below represents the relationship between the number of workers and their outputs in a company for a given day in the short-run:   Workers Output P Marginal Product MP Variable Cost VC Fixed Cost FC Total Cost TC Average Variable Cost AVC Average Fixed Cost AFC Average Total Cost TC Marginal Cost MC 0 0 0 1 12 2 2 21 6 3 27 12 4 30 35 5 32 80 6 33 160 Q1...
The joint probability distribution of variables X and Y is shown in the table below. ...............................................................................X..........................................................................
The joint probability distribution of variables X and Y is shown in the table below. ...............................................................................X....................................................................... Y 1 2 3 1 0.30 0.18 0.12 2 0.15 0.09 0.06 3 0.05 0.03 0.02 Calculate E(XY) Determine the marginal probability distributions of X and Y.             Calculate E(X) and E(Y)             Calculate V(X) and V(Y)             Are X and Y independent? Explain.             Find P(Y = 2| X = 1) Calculate COV(X,Y). Did you expect this answer? Why? Find the probability distribution...
Contract the scatter plot of these data. Describe relationship between x and y. What type of relationship appears to exist between two variables?
Use the following data: x y 10 3 6 7 9 3 3 8 2 9 8 5 3 7 Contract the scatter plot of these data. Describe relationship between x and y. What type of relationship appears to exist between two variables? (you can copy and past from Excel,SAS,etc) Compute the correlation coefficient r. Test to determine whether the population correlation coefficient is positive. Use the α=0.01 level to conduct test. (calculate test statistics and make conclusion)
The information below represents the relationship between the selling price (Y, in $1,000) of a home,...
The information below represents the relationship between the selling price (Y, in $1,000) of a home, the square footage of the home (X1), and the number of rooms in the home (X2). The data represents 60 homes sold in a particular area of East Lansing, Michigan and was analyzed using multiple linear regression and simple regression for each independent variable. The first two tables relate to the multiple regression analysis. Summary measures Multiple R 0.9408 R-Square 0.8851 Adj R-Square 0.8660...
This is the probability distribution between two random variables X and Y: Y \ X 0...
This is the probability distribution between two random variables X and Y: Y \ X 0 1 2 3 0.1 0.2 0.2 4 0.2 0.2 0.1 a) Are those variables independent? b) What is the marginal probability of X? c) Find E[XY]
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT