* Linear OLS Model for Hourly Earnings * * Keywords: * regression, ols, linear, dummy, interaction, ancova, earnings, gender, * education, race * * Description: * We illustrate how to estimate OLS Models with Quantitative and * Interaction variables for Average Hourly Earnings * * Author(s): * Skif Pankov * * Source: * Damodar N. Gujarati and Dawn C. Porter, Basic Econometrics - 5th Edition * McGraw-Hill International Edition, Chapter 9, Example 9.5 (page 289) * sample 1 528 * Reading the datafile and naming variables read(data_9.2.shd) wage mar reg educ genr mr = mar*reg * Running an OLS regression of wage and performing an Analysis of Variance ols wage mar reg educ / anova * Running an OLS regression of wage and performing an Analysis of Variance ols wage mar reg mr educ / anova stop