[Limdep Nlogit List] Error message in running Stated Choice Model

David Hensher david.hensher at sydney.edu.au
Sun Mar 29 10:40:02 AEDT 2020


I suggest you just rune rpl as ;rpl?  without the '

= padist, fcov, herbcon, inputs, benefits, respage, respedu, hhmem, #caste, history, landsize, aginc, crops, otherinc, sources'

to see of there is an issue here with such a large number of interacting effect

David Henehr


On 29/03/2020 10:19 AM, Puri,Mahi wrote:
> Hello
>
> I am using NLOGIT (version 6) and trying to run Mixed (Random Parameter) Logit Model for stated choice experiment data. However, the model is giving an error and we are unable to proceed. Please advice.
>
> The code, description of data and error message are provided below:
>
>    1.
> The data is in the form of panel data (3 repetitions) where each respondent is given 3 choices (alt 1, alt 2, none). So, 600 respondents*3 choices*3 repetitions = 5400 rows of data
>    2.
> The attributes (land, year, payment) vary over choices.
>    3.
> Covariates/characteristics (padist, fcov, herbcon, inputs, benefits, respage, respedu, hhmem, #caste, history, landsize, aginc, crops, otherinc, sources) vary across respondents.
>    4.
> "land" and "year" are random parameters
>
> |->  NLOGIT; Lhs = choiced
>
>      ; Choices = alt1, alt2, none
>
>             ; model:
>
>      U(alt1) = b_land * land + b_year * year + b_payment * payment/
>
>      U(alt2) = b_land * land + b_year * year + b_payment * payment/
>
>      U(none) = asc + b_land * land + b_year * year + b_payment * payment
>
>             ; RPL = padist, fcov, herbcon, inputs, benefits, respage, respedu, hhmem, #caste, history, landsize, aginc, crops, otherinc, sources
>
>             ; Pts = 500; Halton; Pds = 3
>
>             ; Fcn = b_land(n), b_year(n)$
>
>
> -----------------------------------------------------------------------------
>
> Start values obtained using MNL model
>
> Dependent variable               Choice
>
> Log likelihood function     -1588.38429
>
> Estimation based on N =   1773, K =   4
>
> Inf.Cr.AIC  =   3184.8 AIC/N =    1.796
>
> ---------------------------------------
>
>              Log likelihood R-sqrd R2Adj
>
> Constants only  -1913.0514  .1697 .1602
>
> Note: R-sqrd = 1 - logL/Logl(constants)
>
> Warning:  Model does not contain a full
>
> set of ASCs. R-sqrd is problematic. Use
>
> model setup with ;RHS=one to get LogL0.
>
> ---------------------------------------
>
> Response data are given as ind. choices
>
> Number of obs.=  1800, skipped   27 obs
>
> --------+--------------------------------------------------------------------
>
>          |                  Standard            Prob.      95% Confidence
>
> CHOICED|  Coefficient       Error       z    |z|>Z*         Interval
>
> --------+--------------------------------------------------------------------
>
>    B_LAND|    -.04070***      .00181   -22.51  .0000     -.04425   -.03716
>
>    B_YEAR|    -.02464**       .01144    -2.15  .0313     -.04707   -.00221
>
> B_PAYMEN|     .01460***      .00225     6.50  .0000      .01020    .01900
>
>       ASC|   -1.59020***      .16806    -9.46  .0000    -1.91960  -1.26080
>
> --------+--------------------------------------------------------------------
>
> ***, **, * ==>   Significance at 1%, 5%, 10% level.
>
> Model was estimated on Mar 28, 2020 at 06:25:54 PM
>
> -----------------------------------------------------------------------------
>
>
>
> Error    805: Initial iterations cannot improve function.Status=3
>
> Function value was   .1588384288D+04 at entry -----------
>
>                       .3124865903D+05 at exit  -----------
>
> Error   1025: Failed to fit model. See earlier diagnostic.
>
>
> ----
> Mahi Puri
>
> PhD Candidate and Graduate Assistant
> Wildlife Ecology and Conservation
> University of Florida
>
> _______________________________________________
> Limdep site list
> Limdep at mailman.sydney.edu.au
> http://limdep.itls.usyd.edu.au
>
>    


-- 
DAVID HENSHER FASSA, PhD| Professor and Founding Director
Institute of Transport and Logistics Studies | The University of Sydney Business School

THE UNIVERSITY OF SYDNEY
Rm 201, Building H73| The University of Sydney | NSW | 2006
Street Address: 378 Abercrombie St, Darlington NSW 2008
T +61 2 9114 1871 | F +61 2 9114 1863 | M +61 418 433 057
E David.Hensher at sydney.edu.au | W sydney.edu.au/business/itls |W https://protect-au.mimecast.com/s/imJTC81V0PTwRomoCn4eYw?domain=sydney.edu.au

Celebrating 25 years of ITLS: 1991-2016 https://protect-au.mimecast.com/s/53LKC91WPRTYBGJGCErBAK?domain=youtu.be
ERA Rank 5 (Transportation and Freight Services)
Co-Founder of the International Conference Series on Competition and Ownership of Land Passenger Transport (The 'Thredbo' Series)
https://protect-au.mimecast.com/s/zSzXC0YKPvir31n1S2qVU2?domain=thredbo-conference-series.org
https://www.linkedin.com/company/28450714
Second edition of Applied Choice Analysis now available at www.cambridge.org/9781107465923
Nlogit is the most popular software for choice modellers. See www.limdep.com
     See Master of Transport beginning 2020:
* Master of Transport: https://sydney.edu.au/courses/courses/pc/master-of-transport.html
     * Graduate Certificate in Transport: https://sydney.edu.au/courses/courses/pc/graduate-certificate-in-transport.html
     * Graduate Diploma in Transport: https://sydney.edu.au/courses/courses/pc/graduate-diploma-in-transport.html

CRICOS 00026A
This email plus any attachments to it are confidential. Any unauthorised use is strictly prohibited. If you receive this email in error, please delete it and any attachments.

Please think of our environment and only print this e-mail if necessary.




More information about the Limdep mailing list