The sales of a small factory since 2008 are as follows:
Year Sales (in ₹ lakhs)
Using 2008 as the zero year, find the least-square trend-line equation.
"\\bar{y}=\\dfrac{\\sum_iy_i}{n}=\\dfrac{61}{6}\\approx10.166667"
"SS_{xx}=\\sum_i(x_i-\\bar{x})^2=\\sum_ix_i^2-n\\cdot\\bar{x}^2"
"=55-6\\cdot(2.5)^2=17.5"
"=631-6\\cdot(\\dfrac{61}{6})^2=\\dfrac{65}{6}\\approx10.833333"
"=165-6\\cdot(2.5)(\\dfrac{61}{6})=12.5"
"b=\\dfrac{SS_{xy}}{SS_{xx}}=\\dfrac{12.5}{17.5}=\\dfrac{5}{7}\\approx0.714286"
"r^2\\approx0.8241758"
Comments
Leave a comment