* Linear OLS Model for Public School Teachers' Salaries * * Keywords: * regression, ols, linear, dummy, ancova, public, school, teacher, salary * * Description: * We illustrate how to estimate an ANOVA Model with Quantitative * variables (ANCOVA) for Public School Teachers' Salaries * * Author(s): * Skif Pankov * * Source: * Damodar N. Gujarati and Dawn C. Porter, Basic Econometrics - 5th Edition * McGraw-Hill International Edition, Chapter 9, Example 9.3 (page 284) * sample 1 51 * Reading the datafile and naming variables read(data_9.1.shd) sal spnd d2 d3 * Running an OLS regression of sal on geographical dummies d2 and d3, * specifying that ANOVA model is being estimated and showing residual * statistics ols sal spnd d2 d3 / anova rstat stop