[Limdep Nlogit List] Error 127: Models - Sample sum of weights is less than or equal to 1.0

Vrachioli,Maria maria.vrachioli at ufl.edu
Fri Jun 10 00:43:27 AEST 2016


Hello Dr. Greene,

I would like to thank you for your quick response.

Your recommendation indeed solved the issue with 127 error.

Best regards,
Maria 


> On Jun 8, 2016, at 1:48 PM, William Greene <wgreene at stern.nyu.edu> wrote:
> 
> Maria.  Create control = 1 - extension
> then fit the model as
> PROBIT ; Lhs = control ; ... $
> FRONTIER ; ... $
> This should make the 127 error go away.
> /Bill Greene
> 
> On Mon, Jun 6, 2016 at 5:28 PM, Vrachioli,Maria <maria.vrachioli at ufl.edu>
> wrote:
> 
>> Hello,
>> 
>> 
>> I am using NLOGIT's usual format for sample selection models PROBIT and
>> FRONTIER command.
>> 
>> While this model is working for the pooled data (N=265) and treated
>> farmers data (N=231), it gives me the following error
>> 
>> when I am trying to run this model using the control group of farmers
>> (N=31):
>> 
>> 
>> |-> FRONTIER ; Lhs = loutput ; Rhs = one,lcapital,llabour,lland ;
>> Selection $
>> Error    127: Models - Sample sum of weights is less than or equal to 1.0
>> (it gives me the same error using or not Halton for the simulation)
>> 
>> I do not know how to interpret this error and what it would solve this
>> issue.
>> 
>> My command for the sample selection model for the control group is the
>> following:
>> 
>> PROBIT ; Lhs = extension ; Rhs =
>> one,age,age2,educ,educ2,subsidies,tenancy,aridity,altitude ; Hold $
>> FRONTIER ; Lhs = loutput ; Rhs = one,lcapital,llabour,lland ; Selection $
>>                    ; Halton ; Draws = 100 $
>> 
>> I am using a Cobb-Douglas production function with only 3 inputs, as I
>> know that my data set for the control group is relatively small.
>> 
>> I would like to thank you in advance for your help.
>> 
>> Best regards,
>> Maria
>> 
>> 
>> _______________________________________________
>> Limdep site list
>> Limdep at limdep.itls.usyd.edu.au
>> http://limdep.itls.usyd.edu.au
>> 
> 
> 
> 
> -- 
> William Greene
> Department of Economics
> Stern School of Business, New York University
> 44 West 4 St., 7-90
> New York, NY, 10012
> URL: http://people.stern.nyu.edu/wgreene
> Email: wgreene at stern.nyu.edu
> Ph. +1.212.998.0876
> _______________________________________________
> Limdep site list
> Limdep at limdep.itls.usyd.edu.au
> http://limdep.itls.usyd.edu.au



More information about the Limdep mailing list