Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: problem with the mlogtest command

From   Richard Williams <>
Subject   Re: st: problem with the mlogtest command
Date   Fri, 11 Nov 2011 13:03:17 -0500

At 12:42 PM 11/11/2011, Miranda wrote:
Not sure why this happens.  See below

. mlogtest, lr

Problem determining number of categories.

**** Likelihood-ratio tests for independent variables

 Ho: All coefficients associated with given variable(s) are 0.

HIVtesting_tri| chi2    df   P>chi2
lrtest not valid after robust
specify force option to perform test anyway

First off, again confirm that you have the latest and greatest updates of Stata and spost9. On my machine,

. which mlogtest, all

*! version 1.7.6 jsl 2009-10-18

I think you'll still have the problem though. mlogtest is trying to run lrtest, and lrtest doesn't work if you have used robust standard errors when executing mlogit. (Unless you use the force option, and mlogtest doesn't let you specify it.) Instead do

mlogtest, wald

Incidentally, I happen to know that these are Long and Freese commands, but the rest of the world may not. If using user-written commands you should specify where they came from. That is all the more important with Long and Freese commands since multiple versions are floating around.

Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  Richard.A.Williams.5@ND.Edu

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index