* OLS Model for Mathematics SAT Scores
*
* Keywords:
* regression, ols, SAT, mathematics, family income, graph
*
* Description:
* We illustrate how to estimate a Linear OLS Model for Mathematics SAT
* Scores and create a graph of the data
*
* Author(s):
* Skif Pankov
*
* Source:
* Damodar N. Gujarati and Dawn C. Porter, Basic Econometrics - 5th Edition
* McGraw-Hill International Edition, Chapter 2, Example 2.2 (page 47)
*
sample 1 10
* Reading the datafile and name variables
read (data_2.2.shd) avinc avmath
* Generating a graph of av_wage against yrs_sch, specifying not to include
* the data keys
graph avmath avinc / nokey
stop