UNIVERSITY OF CALIFORNIA, LOS ANGELES
Department of Economics

Economics 143 (Cameron) - Applied Regression Analysis

SHAZAM code [colds.sha]


If you are downloading this SHAZAM code for use on your own computer, select "File", then "Save As...", and save on your own diskette (a:) or your own hard drive (c:\) using the same filename e143sh5.sha.

IMPORTANT: you must then use an editor (like TED) to delete all of the HTML code from the top and the bottom of the file, leaving only the SHAZAM code. The line which reads "* SHAZAM code (e143sh5.sha) downloaded from UCLA Econ 143 (CAMERON) WebSite" should be the first line of your edited program file. Save the edited program as colds.sha



* SHAZAM code downloaded from UCLA Econ 143 (CAMERON) WebSite: 
* HTML file called e143sh5.htm, and should have 
*  been downloaded as colds.sha

* example of omitted variables bias in estimation:  religion and health
* colds= number of colds caught per year
* visits=number of visits to place of worship per month
* age=age of respondent

sample 1 12
read colds visits age
4 4 44
5 3 48
2 0 19
3 3 31
4 2 42
2 2 20
3 1 33
4 3 41
2 1 22
3 2 29
5 4 52
5 5 54




COURSE OUTLINE LECTURE OUTLINES PROBLEM SETS PROBLEM SOLUTIONS
COMPUTER LABS SHAZAM EXAMPLES DATA SETS ONLINE QUIZZES

Updated: October 14, 1997
Prepared by: Trudy Ann Cameron