Ordinary Least Squares
Ordinary Least Squares
Ordinary Least Squares
1
= [(Xi - mean of X) * (Yi - mean of Y)] /
(Xi - mean of X)
2
If
xi = Xi - mean of X and
yi = Yi - mean of Y
then
1
= [(xi*yi)] / (xi)
2
How do we calculate
0
?
Some Simple Math
0
= mean of Y
1
*mean of X
0
is defined to ensure that the
regression equation does indeed pass
through the means of Y and X.
Multivariate Regression
Multivariate regression an equation with more than
one independent variable.
Multivariate regression is necessary if one wishes to
impose ceteris paribus.
Specifically, a multivariate regression coefficient
indicates the change in the dependent variable
associated with a one-unit increase in the
independent variable in question holding constant the
other independent variables in the equation.
Omitted Variables, again
If you do not include a variable in your model, then
your coefficient estimate is not calculated with the
omitted variable held constant.
In other words, if the variable is not in the model it
was not held constant.
Then again.... there is the Principle of Parsimony or
Occams razor (that descriptions be kept as simple as
possible until proven inadequate).
So we dont typically estimate regressions with
hundreds of independent variables.
The Multivariate Model
Y =
0
+
1
X
1
+
2
X
2
+ .......
n
X
n
+
For Example, a model where n=2:
Wins =
0
+
1
PTS +
2
DPTS +
Where
PTS = Points scored in a season
DPTS = Points surrendered in a season
How do we calculate
1
and
2
?
Some Less Simple Math
Remember:
xi = Xi - mean of X and
yi = Yi - mean of Y
1
= [(x
1
*yi)*(x
2
)
2
- (x
2
*yi)*(x
1
*x
2
)
] /
[(x
1
)
2
* (x
2
)
2
- (x
1
*x
2
)
2
]
2
= [(x
2
*yi)*(x
1
)
2
- (x
1
*yi)*(x
1
*x
2
)] /
[(x
1
)
2
* (x
2
)
2
- (x
1
*x
2
)
2
]
0
= mean of Y
1
*mean of X
2
*mean of X
Issues to Consider when reviewing
regression results
1. Is the equation supported by sound theory?
2. How well does the estimated regression fit the data?
3. Is the data set reasonably large and accurate?
4. Is OLS the best estimator for this equation?
5. How well do the estimated coefficients correspond to our
expectations?
6. Are all the obviously important variables included in the
equation?
7. Has the correct functional form been used?
8. Does the regression appear to be free of major econometric
problems?
NOTE: This is just a sample of questions one can ask.