Question #73785

Consider the following five data points:
x -1. 0 1 2 3
Y -1 1 2 4 5
a) use regression analysis to calculate by hand the estimated coefficients of the equation Y = B + aX
(b) compute the standard error and the t-statistics for the coefficient of determination of X

Expert's answer

Answer on Question #73785 – Math – Statistics and Probability

Consider the following five data points:


X10123Y11245\begin{array}{l} X \quad - 1 \quad 0 \quad 1 \quad 2 \quad 3 \\ Y \quad - 1 \quad 1 \quad 2 \quad 4 \quad 5 \\ \end{array}


a) use regression analysis to calculate by hand the estimated coefficients of the equation Y=B+AXY = B + AX

Solution

mean of x=xˉ=xinmean of y=yˉ=yin\begin{array}{l} \text{mean of } x = \bar{x} = \frac{\sum x_i}{n} \\ \text{mean of } y = \bar{y} = \frac{\sum y_i}{n} \\ \end{array}trend line: Y=B+AX,A=SxySxx,B=yˉAxˉSxx=(xixˉ)2n=(xi)2n(xˉ)2Syy=(yiyˉ)2n=(yi)2n(yˉ)2Sxy=(xixˉ)(yiyˉ)n=xiyinxˉyˉ\begin{array}{l} \text{trend line: } Y = B + AX, A = \frac{S_{xy}}{S_{xx}}, B = \bar{y} - A\bar{x} \\ S_{xx} = \frac{\sum (x_i - \bar{x})^2}{n} = \frac{\sum (x_i)^2}{n} - (\bar{x})^2 \\ S_{yy} = \frac{\sum (y_i - \bar{y})^2}{n} = \frac{\sum (y_i)^2}{n} - (\bar{y})^2 \\ S_{xy} = \frac{\sum (x_i - \bar{x})(y_i - \bar{y})}{n} = \frac{\sum x_i \cdot y_i}{n} - \bar{x} \cdot \bar{y} \\ \end{array}mean of x=xˉ=1+0+1+2+35=1mean of y=yˉ=1+1+2+4+55=2.2Sxx=(1)2+(0)2+(1)2+(2)2+(3)25(1)2=2Syy=(1)2+(1)2+(2)2+(4)2+(5)25(2.2)2=4.56Sxy=(1)(1)+(0)(1)+(1)(2)+(2)(4)+(3)(5)5(1)(2.2)=3A=32=1.5B=2.21.5(1)=0.7Y=0.7+1.5X\begin{array}{l} \text{mean of } x = \bar{x} = \frac{-1 + 0 + 1 + 2 + 3}{5} = 1 \\ \text{mean of } y = \bar{y} = \frac{-1 + 1 + 2 + 4 + 5}{5} = 2.2 \\ S_{xx} = \frac{(-1)^2 + (0)^2 + (1)^2 + (2)^2 + (3)^2}{5} - (1)^2 = 2 \\ S_{yy} = \frac{(-1)^2 + (1)^2 + (2)^2 + (4)^2 + (5)^2}{5} - (2.2)^2 = 4.56 \\ S_{xy} = \frac{(-1)(-1) + (0)(1) + (1)(2) + (2)(4) + (3)(5)}{5} - (1)(2.2) = 3 \\ A = \frac{3}{2} = 1.5 \\ B = 2.2 - 1.5(1) = 0.7 \\ Y = 0.7 + 1.5X \\ \end{array}


(b) compute the standard error and the t-statistics for the coefficient of determination of XX

**Solution**


r=SxySxxSyyr = \frac {S _ {x y}}{\sqrt {S _ {x x} \sqrt {S _ {y y}}}}


the coefficient of determination of XX

r2=(Sxy)2SxxSyyr ^ {2} = \frac {\left(S _ {x y}\right) ^ {2}}{S _ {x x} S _ {y y}}r2=(3)22(4.56)=0.986842105r ^ {2} = \frac {(3) ^ {2}}{2 (4 . 5 6)} = 0. 9 8 6 8 4 2 1 0 5

r=0.993399267r = 0.993399267

SST=i(yiyˉ)2=22.8S S T = \sum_ {i} (y _ {i} - \bar {y}) ^ {2} = 2 2. 8SSR=i(y^iyˉ)2=22.5S S R = \sum_ {i} (\hat {y} _ {i} - \bar {y}) ^ {2} = 2 2. 5r2=SSRSST=22.522.80.986842105r ^ {2} = \frac {S S R}{S S T} = \frac {2 2 . 5}{2 2 . 8} \approx 0. 9 8 6 8 4 2 1 0 5SEE=(y^y)2n2S E E = \sqrt {\frac {\sum (\hat {y} - y) ^ {2}}{n - 2}}SEE=0.04+0.09+0.04+0.09+0.0452=0.10.316227766S E E = \sqrt {\frac {0 . 0 4 + 0 . 0 9 + 0 . 0 4 + 0 . 0 9 + 0 . 0 4}{5 - 2}} = \sqrt {0 . 1} \approx 0. 3 1 6 2 2 7 7 6 6


Standard error of slope


SEA=SEE(xxˉ)2S E _ {A} = \frac {S E E}{\sqrt {\sum (x - \bar {x}) ^ {2}}}SEA=0.1(11)2+(01)2+(11)2+(21)2+(31)2=0.1S E _ {A} = \frac {\sqrt {0 . 1}}{\sqrt {(- 1 - 1) ^ {2} + (0 - 1) ^ {2} + (1 - 1) ^ {2} + (2 - 1) ^ {2} + (3 - 1) ^ {2}}} = 0. 1


The test for the significance of regression for the data in the table

The test is carried out using the tt - test on the coefficient AA

H0:A=0H _ {0}: A = 0H1:A0H _ {1}: A \neq 0


The test statistic can be calculated using the following equation:


Test Statistic: t0=A0SEA=1.50.1=15\text{Test Statistic: } t_0 = \frac{A - 0}{SE_A} = \frac{1.5}{0.1} = 15


This statistic based on the tt distribution with 3 (n2=52=3n - 2 = 5 - 2 = 3) degrees of freedom can be obtained as follows:


α=0.01\alpha = 0.01α/2=0.005\alpha/2 = 0.005df=n2=52=3df = n - 2 = 5 - 2 = 3Critical value: =5.841\text{Critical value: } = 5.841


Statistical conclusion:

Reject H0H_0, there is evidence that AA is not equal to zero and that a significant relationship exists between yy and xx.

The coefficient of non-determination was used in the tt-test to see if there was significant linear correlation.

The standard error of the estimate is the square root of the coefficient of non-determination divided by its degrees of freedom.


se=1r2n2s_e = \sqrt{\frac{1 - r^2}{n - 2}}se=10.986842105520.066226618s_e = \sqrt{\frac{1 - 0.986842105}{5 - 2}} \approx 0.066226618


The test is carried out using the tt-test on the coefficient 1r21 - r^2.


H0:1r2=1H_0: 1 - r^2 = 1H1:1r2<0H_1: 1 - r^2 < 0


The test statistic can be calculated using the following equation:


Test Statistic: t0=(1r2)1se=0.9868421050.06622661814.90098898\text{Test Statistic: } t_0 = \frac{(1 - r^2) - 1}{s_e} = \frac{-0.986842105}{0.066226618} \approx -14.90098898


This statistic based on the tt distribution with 3 (n2=52=3n - 2 = 5 - 2 = 3) degrees of freedom can be obtained as follows:


α=0.01\alpha = 0.01df=n2=52=3df = n - 2 = 5 - 2 = 3Critical value: =4.54070\text{Critical value: } = 4.54070


Statistical conclusion:

Reject H0H_0, there is evidence that (1r2)(1 - r^2) is not equal to 1 and that a significant relationship exists between yy and xx.

Answer provided by https://www.AssignmentExpert.com

LATEST TUTORIALS
APPROVED BY CLIENTS