4.1
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:
Based on the above table, the following is calculated:
"\\bar{y}=\\dfrac{1}{n}\\displaystyle\\sum_{i=1}^ny_i=\\dfrac{41.3}{10}=4.13"
"SS_{xx}=\\displaystyle\\sum_{i=1}^nx_i^2-\\dfrac{1}{n}\\big(\\displaystyle\\sum_{i=1}^nx_i\\big)^2=385-\\dfrac{55^2}{10}=82.5"
"SS_{yy}=\\displaystyle\\sum_{i=1}^ny_i^2-\\dfrac{1}{n}\\big(\\displaystyle\\sum_{i=1}^ny_i\\big)^2=175.39-\\dfrac{41.3^2}{10}=4.821"
"SS_{xy}=\\displaystyle\\sum_{i=1}^nx_iy_i-\\dfrac{1}{n}\\big(\\displaystyle\\sum_{i=1}^nx_i\\big)\\big(\\displaystyle\\sum_{i=1}^ny_i\\big)="
"=233-\\dfrac{55\\cdot41.3}{10}=5.85"
The regression coefficients (the slope "m," and the y-intercept "n") are obtained as follows:
"n=\\bar{y}-\\bar{x}\\cdot m=4.13-5.5\\cdot\\dfrac{5.85}{82.5}=3.74"
We find that the regression equation is:
4.2
2008: "x=-1, y=3.74+0.0709(-1)=3.6691"
3.6691 $mil in 2008.
2022: "x=12, y=3.74+0.0709(12)=4.5908"
4.5908 $mil in 2022.
Comments
Leave a comment