Stata

You are currently browsing the archive for the Stata category.

Say you wish to estimate a model with a binary dependent variable. You recall that you ought not use OLS primarily because OLS will not bound your predicted values between zero and one. So you use a nonlinear variant, say, probit. But you also recall that it doesn’t matter much if you just use OLS and ignore the binary nature of your dependent variable so long as you are interested in estimating the effects of your covariates, not generating predicted values.
Read the rest of this entry »

Tags: , , , , ,

Frances Woolley has posted some great tips on how to clean data in Stata. This post follows up with some tips on how to quickly and robustly estimate models as you vary specifications, and on how to get your results in a publication-ready form. The .do file described in this post can be downloaded by clicking here, you must change the extension from .doc to .do.

Read the rest of this entry »

Tags: ,

Copyright © 2017 M. Christopher Auld