use "http://www.principlesofeconometrics.com/poe4/data/stata/mroz.dta", clear cd c:\temp\stata log using tsls, replace gen lwage = ln(wage) ivregress 2sls lwage exper kidsl6 (educ = mothereduc fathereduc), first estimates store tsls estat overid estat firststage estat endogenous ivregress liml lwage exper kidsl6 (educ = mothereduc fathereduc), first estimates store liml estat overid estat firststage ivregress 2sls lwage kidsl6 (educ exper = mothereduc fathereduc age) estimates store tsls_2 estat overid estat firststage estat endogenous estimates table tsls liml tsls_2, b(%7.4f) se(%7.4f) stats(N r2_a) log clos