Question #46486

In order to find the correlation coefficient between two variables X and Y
from 20 pairs of observations, the following calculations were made:
Σx =15, Σy = − 6, Σxy = 50, Σx^2 = 61 and Σy^2 = 90 .
Calculate the correlation coefficient, and the slope of the regression line of Y on X.
1

Expert's answer

2014-09-19T12:16:05-0400

Answer on Question #46486 - Math - Statistics and Probability

In order to find the correlation coefficient between two variables X and Y from 20 pairs of observations, the following calculations were made:


Σx=15,Σy=6,Σxy=50,Σx2=61 and Σy2=90.\Sigma x = 15, \Sigma y = -6, \Sigma xy = 50, \Sigma x^2 = 61 \text{ and } \Sigma y^2 = 90.


Calculate the correlation coefficient, and the slope of the regression line of Y on X.

Solution

Correlation coefficient is calculated as follows:


rxy=xiyinx^y^(n1)sxsy=nxiyixiyinxi2(xi)2nyi2(yi)2r_{xy} = \frac{\sum x_i y_i - n \hat{x} \hat{y}}{(n-1) s_x s_y} = \frac{n \sum x_i y_i - \sum x_i \sum y_i}{\sqrt{n \sum x_i^2 - (\sum x_i)^2} \sqrt{n \sum y_i^2 - (\sum y_i)^2}}rxy=205015(6)2061152209062=0.823r_{xy} = \frac{20 \cdot 50 - 15 \cdot (-6)}{\sqrt{20 \cdot 61 - 15^2} \cdot \sqrt{20 \cdot 90 - 6^2}} = 0.823


The slope of the regression line of Y on X is calculated as follows:


a=rsxsy=nxiyixiyinxi2(xi)2=20501562061152=1.095a = r \frac{s_x}{s_y} = \frac{n \sum x_i y_i - \sum x_i \sum y_i}{n \sum x_i^2 - (\sum x_i)^2} = \frac{20 \cdot 50 - 15 \cdot -6}{20 \cdot 61 - 15^2} = 1.095


www.AssignmentExpert.com


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS