SHAZAM II: Logit and Probit

C. Cameron, Dept. of Economics, Univ. of Calif.-Davis

http://www.econ.ucdavis.edu/faculty/cameron  has further information on how to use Shazam.

This particular help sheet provides
  how to obtain data set for this exercise
  introduction to logit and probit in Shazam

DOWNLOAD DATA SET

Before entering Shazam, make sure you have the data set available.
Here I consider data set HOMEOWN.DAT, the data set used in class. This can be downloaded from the website

  http://www.econ.ucdavis.edu/faculty/cameron/shazam.html

Enter the Shazam directory. Click on the Homeownership data. Download to the A: drive.

SHAZAM LOGIT

Give the following Shazam commands.

   FILE SCREEN A:\HOMEOWN.OUT
  FILE 11  A:\HOMEOWN.DAT
   READ(11)  FAMILY HOMEOWN INCOME
   SET PAUSE
  PRINT  FAMILY HOMEOWN INCOME
   STAT  HOMEOWN INCOME
   OLS  HOMEOWN INCOME
   LOGIT  HOMEOWN INCOME
   PROBIT  HOMEOWN INCOME

The OLS command produces OLS estimates including
 

VARIABLE
ESTIMATED
STANDARD
T-RATIO
NAME
COEFFICIENT
ERROR
38 DF
  INCOME
  .0795
  .0131
  6.06
  CONSTANT
  -.5951
  .1975
  3.01

The LOGIT command produces logit estimates including
 

VARIABLE
ESTIMATED
STANDARD
T-RATIO
NAME
COEFFICIENT
ERROR
38 DF
  INCOME
  0.4908
  0.1376
  3.57
  CONSTANT
  -6.7428
  1.9882
  3.40