[Limdep Nlogit List] A Do loop Problem

Sachin Chintawar schint1 at tigers.lsu.edu
Wed Nov 18 09:52:01 EST 2009


Dear Limdep list users
Please find a copt of the code I am trying to run. Unfortunately I hit
the same error and I cannot figure out what is going wrong. I would
greatly appreciate if someone could help me with it. Following is the
code and the output the last 2 lines show the error.
Thanks
Sachin

LIMDEP CODE

NAMELIST;X=ONE,LCAP_QI,LLAND_QI,LLAB_QI,LCHEM_QI,LENG_QI,LMAT_QI$
SORT ;Lhs = REPLICAT; Rhs = * $

MATRIX ; Results = Init(2, 13, 0.0) $
CALC ; i = 0 $
PROC
CALC ; i = i + 1 $
INCLUDE ; New ; REPLICAT = i $
FRONTIER
;Lhs=LAO_QI
;Rhs=X,YEAR
;Het
;Hfu=DSU
;Hfv=DSV
;Model=G
;pts=100
;Halton$

MATRIX ; bt = b' ; Results (i,*) = tt $
ENDPROC
EXECUTE ; N = 2$



LIMDEP OUPTUT
--> SORT ;Lhs = REPLICAT; Rhs = * $
REPLICAT was sorted carrying  19 variables.
--> MATRIX ; Results = Init(2, 13, 0.0) $
--> CALC ; i = 0 $
--> PROC
--> CALC ; i = i + 1 $
--> INCLUDE ; New ; REPLICAT = i $
--> FRONTIER
   ;Lhs=LAO_QI
   ;Rhs=X,YEAR
   ;Het
   ;Hfu=DSU
   ;Hfv=DSV
   ;Model=G
   ;pts=100
   ;Halton$
--> MATRIX ; bt = b' ; Results (i,*) = tt $
--> ENDPROC
--> EXECUTE ; N = 2$
Line search does not improve fn. Exiting optimization.

----------------------------------------------------------------------
Limited Dependent Variable Model - FRONTIER
Dependent variable               LAO_QI
Log likelihood function      1516.18312
Estimation based on N =   2112, K =  13
Information Criteria: Normalization=1/N
             Normalized   Unnormalized
AIC             -1.42347    -3006.36625
Fin.Smpl.AIC    -1.42339    -3006.19275
Bayes IC        -1.38866    -2932.84617
Hannan Quinn    -1.41072    -2979.44558
Model estimated: Nov 15, 2009, 07:21:42
Normal-Gamma frontier model
Theta_i is heterogeneous:theta*exp[-d*z(i)]
Sigma(v,i)=Sigma(v)*exp[c*w(i)]
Variances: Sigma-squared(v)=     .00929
          Sigma-squared(u)=     .00431
          Sigma(v)        =     .09639
          Sigma(u)        =     .06565
Variances averaged over observations
Stochastic Production Frontier, e = v-u
Half Normal:u(i)=|U(i)|; frontier model
--------+-------------------------------------------------------------
Variable| Coefficient    Standard Error  b/St.Er. P[|Z|>z]   Mean of X
--------+-------------------------------------------------------------
       |Primary Index Equation for Model
Constant|   -22.9605***       .89127      -25.761   .0000
 LCAP_QI|     .07636***       .01465        5.211   .0000      4.64837
LLAND_QI|     .10560***       .01643        6.429   .0000      4.36303
 LLAB_QI|     .07001***       .01052        6.653   .0000      4.01801
LCHEM_QI|     .07104***       .00537       13.233   .0000      5.12330
 LENG_QI|     .13285***       .01441        9.218   .0000      4.74176
 LMAT_QI|     .43999***       .00929       47.342   .0000      4.80157
   YEAR|     .01200***       .00043       27.615   .0000      1981.50
       |Variance parameters for compound error
  Theta|    52.4901***      9.98013        5.259   .0000
      P|    2.84593***       .47029        6.051   .0000
 Sigmav|     .08243***       .00508       16.216   .0000
       |Heterogeneity in theta for exp/gamma model
    DSU|    4.46157***       .75915        5.877   .0000
       |Heterogeneity in sigma(v) for exp/gamma model
    DSV|     .91637**        .36394        2.518   .0118
--------+-------------------------------------------------------------
Note: nnnnn.D-xx or D+xx => multiply by 10 to -xx or +xx.
Note: ***, **, * = Significance at 1%, 5%, 10% level.
----------------------------------------------------------------------

 Error   583: Problem with matrix. See previous diagnostic.
 Error   498: Skipping   1 repetitions after error flag set.

Maximum repetitions of PROC


More information about the Limdep mailing list