The QLIM Procedure

Example 28.3 Bivariate Probit Analysis

(View the complete code for this example.)

This example shows how to estimate a bivariate probit model. Note the INIT statement in the following program, which sets the initial values for some parameters in the optimization:

data a;
   keep y1 y2 x1 x2;
   do i = 1 to 500;
      x1 = rannor( 19283 );
      x2 = rannor( 19283 );
      u1 = rannor( 19283 );
      u2 = rannor( 19283 );
      y1l = 1 + 2 * x1 + 3 * x2 + u1;
      y2l = 3 + 4 * x1 - 2 * x2 + u1*.2 + u2;
      if ( y1l > 0 ) then y1 = 1;
      else                y1 = 0;
      if ( y2l > 0 ) then y2 = 1;
      else                y2 = 0;
      output;
   end;
run;
/*-- Bivariate Probit --*/
proc qlim data=a method=qn;
   init y1.x1 2.8, y1.x2 2.1, _rho .1;
   model y1 = x1 x2;
   model y2 = x1 x2;
   endogenous y1 y2 ~ discrete;
run;

The output of the QLIM procedure is shown in Output 28.3.1.

Output 28.3.1: Bivariate Probit Analysis Results

Estimating a Tobit model

The QLIM Procedure

Model Fit Summary
Number of Endogenous Variables2
Endogenous Variabley1 y2
Number of Observations500
Log Likelihood-134.90796
Maximum Absolute Gradient3.23363E-7
Number of Iterations17
Optimization MethodQuasi-Newton
AIC283.81592
Schwarz Criterion313.31817

Parameter Estimates
ParameterDFEstimateStandard
Error
t ValueApprox
Pr > |t|
y1.Intercept11.0036390.1536786.53<.0001
y1.x112.2443740.2560628.76<.0001
y1.x213.2734410.3415819.58<.0001
y2.Intercept13.6211640.4571737.92<.0001
y2.x114.5515250.5765477.89<.0001
y2.x21-2.4427690.332295-7.35<.0001
_Rho10.1440970.3364590.430.6685