Main | February 2012 »

January 31, 2012

The Distribution of Beta-Hat

We start from a previous equation and list some assumptions.

P1010876a.jpg

A little side trip shows that the assumption that the expected value of the errors equals zero is not important because the intercept will "soak up" the mean of the errors if it is not zero.

P1010877a.jpg

Our centerpiece proofs of the expected value and variance of the estimated beta:

P1010880a.jpg

It is important to understand that these conclusions are only valid if the assumptions hold. Stata will run the calculations in any case so, if the assumptions are not satisfied, the Stata results can be misleading.

We have seen a very similar analysis in ECON 400.

P1010882a.jpg

Posted by bparke at 07:52 PM | Comments (0)

aX+b Rules

We need some results from probability theory to support our analysis of regression models.

P1010867a.jpg

A numerical example "proof" of the expected value result:

P1010868a.jpg

A numerical example "proof" of the variance result:

P1010885a.jpg

These results are the basis for using the standard normal table for normal distributions.

P1010873b.jpg

Posted by bparke at 07:23 PM | Comments (0)

January 26, 2012

Left-Out Variables

We spent about half our time studying the 3-variable regression simulation on the EasyMetrics web site.

P1010862a.jpg

To understand our simulation results we made our first trip through one of the most important theoretical results in econometrics. The following algebra explains why leaving out a variable causes bias in the estimated coefficients.

P1010865a.jpg

Posted by bparke at 09:16 PM | Comments (0)

January 24, 2012

Why is the estimated slope stochastic?

We studied the EasyMetrics 2-variable regression simulation to see how the errors affect the estimated slope. The following algebra lays out a more mathematical explanation. The estimated coefficient is not equal to the true coefficient because of the sample covariance of the errors and the regressor.

P1010856a.jpg

The errors are part of the true model. They are unobservable because we do not know the true coefficients. We can use the estimated coefficients to calculate the residuals, which you can think of as "estimated errors."

P1010855a.jpg

The sample covariance of the residual and the regressor is zero by construction.

P1010858a.jpg

By the definition of the residual, which can be thought of a forecast error, the observed dependent variable is the sum of the predicted value from the estimated regression and the residual. We have just seen that the covariance of the regressor (and, hence, the prediction) and the error is zero by construction. This allows us to decompose the variance of the dependent variable into "explained" and "unexplained" variances. The R-squared is the explained variance as a percentage of the total variance.

P1010858c.jpg

Posted by bparke at 09:31 PM | Comments (0)

January 19, 2012

Probability and Statistics

P1010840a.jpg

P1010845a.jpg

P1010842a.jpg

P1010844a.jpg

P1010848a.jpg

P1010851a.jpg

P1010849a.jpg


We wrapped up by considering a move to 10,000 observations. The standard error of our estimated probability would then be 0.005, putting the critical values for the rejection region at 0.49 and 0.51. We would then reject the null if the sample percentage was 0.55.

Posted by bparke at 08:17 PM | Comments (0)

January 17, 2012

A First Look at Two-Variable Regressions

We spent a good bit of time experimenting with the EasyMetrics two-variable regression example.

P1010827a.jpg

P1010828a.jpg

We would like to acquire an intuitive understanding of how the errors pull the estimated regression line away from the true line that we would see if there were no errors.

P1010835a.jpg

P1010837a.jpg

The regression results have a counterpart in the basic example of estimating the mean of a sample of draws from a normal distribution.

P1010830b.jpg

P1010831a.jpg

A look at the future:

P1010831b.jpg

Posted by bparke at 08:17 PM | Comments (0)

January 12, 2012

What is a regression?

We worked on Help for New Students.

Posted by bparke at 10:12 PM | Comments (0)

January 10, 2012

Introduction

Welcome

You will need access to Stata. There are advantages to buying a copy. Stata GradPlan Look for Stata/IC. Small Stata will not allow you to do the exercises for this course.

It is cheaper to use the Virtual Computing Lab. UNC VCL. Stata should also be available on lab computers around campus.

Old versions of this course.

EasyMetrics.net

EconModel

The Wall Street Journal If money is tight, subscribe to the Wall Street Journal and use the VCL. Businesses hire people who major in economics and read the Wall Street Journal.

Follow economics at The Economics Roundtable. Veteran readers use an RSS reader. I recommend SharpReader (free).

The Econ Review has some interesting graphs.

Posted by bparke at 07:46 PM | Comments (0)