Concept explainers
(a) Explain the logic of the ordinary least squares (OLS) method. (b) How are the least squares formulas for the slope and intercept derived? (c) What sums are needed to calculate the least squares estimates?
a.
Explain the logic of the ordinary least squares method.
Explanation of Solution
Ordinary least squares method:
For getting the best fit of regression, ordinary least square method can be used. The slope and the intercept are estimated in the way that the residual sum of squares will be minimized.
If only the sum of residuals has used for minimizing the error, there is possibility that the positive and the negative error will be dismissed. Therefor it is logical to use the sum of squares for minimizing the residual.
b.
Show how the least squares formula for the slope and the intercept was derived.
Explanation of Solution
Calculation:
Let Y is the response variable and X is the predictor variable. The linear regression line is
The error sum of squares is,
For minimizing the sum of squares, the expression should be derivative by
Now, equating the derivatives with 0,
Hence, the least square estimator of
c.
Explain the sums which should be calculated for finding the least squares estimators.
Explanation of Solution
For finding the least square estimates,
Want to see more full solutions like this?
Chapter 12 Solutions
APPLIED STAT.IN BUS.+ECONOMICS
- Linear Algebra: A Modern IntroductionAlgebraISBN:9781285463247Author:David PoolePublisher:Cengage LearningElementary Linear Algebra (MindTap Course List)AlgebraISBN:9781305658004Author:Ron LarsonPublisher:Cengage LearningAlgebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:Cengage