/ mixtape Public
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
mixtape/Do/card.doGo to file
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|use https://github.com/scunning1975/mixtape/raw/master/card.dta, clear|
|* OLS estimate of schooling (educ) on log wages|
|reg lwage educ exper black south married smsa|
|* 2SLS estimate of schooling (educ) on log wages using "college in the county" as an instrument for schooling|
|ivregress 2sls lwage (educ=nearc4) exper black south married smsa, first|
|* First stage regression of schooling (educ) on all covariates and the college and the county variable|
|reg educ nearc4 exper black south married smsa|
|* F test on the excludability of college in the county from the first stage regression.|