Fit a regression via 2SLS, requesting small-sample statistics
. ivregress 2sls rent pcturban (hsngval = faminc i.region), small
Fit a regression using the LIML estimator
. ivregress liml rent pcturban (hsngval = faminc i.region)
Fit a regression via GMM using the default heteroskedasticity-robust weight matrix
. ivregress gmm rent pcturban (hsngval = faminc i.region)
Fit a regression via GMM using a heteroskedasticity-robust weight matrix, requesting
nonrobust standard errors
. ivregress gmm rent pcturban (hsngval = faminc i.region), vce(unadjusted)