* * Example 5.5 * J. Wooldridge, Econometrics of Cross Section and Panel Data * * Note: The sample data files include all required data transformations. * However, in many cases we show how these data transformations would * be created in RATS from the basic data, as this is something you will * need to know how to do in practice. * open data nls80.raw data(format=free,org=columns) 1 935 wage hours iq kww educ exper tenure age $ married black south urban sibs brthord meduc feduc * set lwage = log(wage) * * All the explanatory variables are in the instrument set except iq, which is * replaced by kww. * instruments constant exper tenure married south urban black educ kww linreg(instruments) lwage # constant exper tenure married south urban black educ iq