UNIVERSITY OF CALIFORNIA, LOS ANGELES
Department of Economics

Economics 143 (Cameron) - Applied Regression Analysis

SHAZAM code [e1prod.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 e143sh16.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 (e143sh16.sha) downloaded from UCLA Econ 143 (CAMERON) WebSite" should be the first line of your edited program file. Save the edited program as e1prod.sha



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

file 6 e1prod.out

* These data come from a large discussion section experiment conducted
* with Economics 1 Section 2 -- "Production microcosm"

sample 1 254
read(e1prod.dat) firm shift staplers qcon  coo &
   labor totalq goodq rejectq 

* firm is the number of the firm within a region (section)
* shift is the one-minute shift from which the output data are drawn
* staplers is the number of staplers used
* qcon=1 if quality control officer is present
* coo=1 if chief operating officer is present
* labor is the number of workers on the shift
* totalq is the total output produced by the firm on this shift
* goodq is the number of acceptable quality units produced
* rejectq is the number of unacceptable quality units produced

stat
set nowarnskip

* first two observations are "fake observations" that indicate that
* if labor is zero (for either one or two staplers) we assume output is zero






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

Updated: November 19, 1997
Prepared by: Trudy Ann Cameron