Question

In: Math

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.

Solutions

Expert Solution

(a) The correlation coefficient is 0.8.

(b) The least-squares line is:

y = a + bx = 1.6 + 0.8x

(c) Standard deviation = 1.58

The calculations are:

x y (x-xMean) (y-yMean) (x-xMean)*(y-yMean) (x-xMean)² zx zy zx*zy
1 3 -2 -1 2 4 -1.26491 -0.63246 0.8
2 2 -1 -2 2 1 -0.63246 -1.26491 0.8
3 4 0 0 0 0 0 0 0
4 6 1 2 2 1 0.632456 1.264911 0.8
5 5 2 1 2 4 1.264911 0.632456 0.8
Mean 3 4 0 0 8 10 3.2
Std Dev. 1.581139 1.581139
b 0.8
a 1.6
r 0.8

The formulas are:

Correlation coefficient = zx*zy/n-1 n = 5 in this case


Related Solutions

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...
Consider the following data set. x 1 2 3 4 5 6 y 3.00 0.21 0.61...
Consider the following data set. x 1 2 3 4 5 6 y 3.00 0.21 0.61 0.70 1.13 1.17 a) plot the data (y versus x). Are there any points that appear to be outliers? If there are, circle them and label as such. b) produce a regression of y against x. Add the regression line to the plot in a). Do you think that the regression line captures the most important features of the data set reasonably well? c)...
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....
3. Consider the following data for two variables, x and y. x   2 3 4 5 7...
3. Consider the following data for two variables, x and y. x   2 3 4 5 7 7 7 8 9 y 4 5 4 6 4 6 9 5 11 a. Does there appear to be a linear relationship between x and y? Explain. b. Develop the estimated regression equation relating x and y. c. Plot the standardized residuals versus yˆ for the estimated regression equation developed in part (b). Do the model assumptions appear to be satisfied? Explain. d....
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...
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
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 Draw a Scatter Plot of the data. Do you believe the correlation coefficient r will be positive, negative or close to zero? Why What is your estimate to the value of Y associated with X=4?
Step 2 Data Set A x 1 2 3 4 5 6 7 y 7 7...
Step 2 Data Set A x 1 2 3 4 5 6 7 y 7 7 7 9 9 9 10 Data Set B x 1 2 3 4 5 6 7 8 9 10 11 y 4 6 6 6 8 9 9 9 10 10 10 Step 2 Find the equation for the least-squares line, and graph the line on the scatter plot. Find the sample correlation coefficient r and the coefficient of determination r2. Is r significant?...
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.
Consider the following set of ordered pairs. x 5 2 2 3 7 6 y 3...
Consider the following set of ordered pairs. x 5 2 2 3 7 6 y 3 8 5 4 2 7 a. Using alphaequals0.10​, test for the significance of the regression slope. b. Construct a 90​% confidence interval for the population slope. a. Using alphaequals0.10​, test for the significance of the regression slope. Identify the null and alternative hypotheses. Upper H 0​: beta ▼ not equals less than greater than greater than or equals equals less than or equals nothing...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT