* AED01.DO March 2015 For Stata version 12 log using AED01.txt, text replace ********** OVERVIEW OF AED01.DO ********** * STATA Program * copyright C 2015 by A. Colin Cameron * Used for "Analyis of Economics Data: An Introduction to Econometrics" * by A. Colin Cameron (2015) W.W. Norton * To run you need file * AED_HOUSE.DTA Same as chapter 8 * in your directory ********** SETUP ********** set more off version 12 clear all set scheme s1manual // Graphics scheme ************ * This STATA program does analysis for Chapter 1 * 1.3 REGRESSION ANALYSIS ********** DATA DESCRIPTION * House sale price for 29 houses in Central Davis in 1999 * 29 observations on 9 variables **** 1.3 REGRESSION ANALYSIS clear use AED_HOUSE.DTA summarize * Figure 1.1 graph twoway (scatter price size) (lfit price size), title("House price linear regression example") graph export AED01FIG1.wmf, replace ********** CLOSE OUTPUT log close