Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • command gmnl

    Hello.
    I would like to estimate Generalized Multinomial Logit using command gmnl.
    But I got this error message r(111).

    gmnl y price, rand($randvars) group(gid) id(pid) nrep(500)
    evaluator gmnl_gf0() not found
    r(111);

    Could anyone tell me how to resolve this "evaluator gmnl_gf0() not found" ?
    Should I install any other command?

    For your information, I am using Stata 13.1. I don't think that it is a version-related problem.

    Thank you.




  • #2
    The gmnl command is part of a community contributed package distributed through the Stata Journal website.
    Code:
    net describe st0301_3, from(http://www.stata-journal.com/software/sj16-2)
    suggests that the mata function gmnl_gf0() is installed as part of the installation process for gmnl, and having installed st0301_3 as directed my test
    Code:
    . mata gmnl_gf0()
                  gmnl_gf0():  3001  expected 6 arguments but received 0
                     <istmt>:     -  function returned error
    r(3001);
    shows that the function was successfully located and called. A better test would be to run an actual example of the gmnl command from the authors, but the help file does not provide one.

    It seems likely that the package is not correctly or completely installed on your system.

    Comment

    Working...
    X