Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: problem with the mlogtest command


From   Richard Williams <richardwilliams.ndu@gmail.com>
To   statalist@hsphsun2.harvard.edu, statalist@hsphsun2.harvard.edu
Subject   Re: st: problem with the mlogtest command
Date   Fri, 11 Nov 2011 13:08:59 -0500

At 12:54 PM 11/11/2011, Muhammad Anees wrote:
check from http://www.stata.com/statalist/archive/2011-10/msg01160.html

Actually, I think that is referring to a different problem with -mlogtest-. The command can test a lot of things. In Miranda's case I think the problem stems from trying to do likelihood ratio tests when she is also using robust standard errors.

Also, since mlogtest is a post-estimation command, it is important to show the estimation command that preceded it. I'm assuming it included the -robust- or -vce(robust)- option or some other option that forces robust standard errors.

On Fri, Nov 11, 2011 at 10:42 PM, Miranda <lanvandy@gmail.com> 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
> r(198);
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>



--

Regards
---------------------------
Muhammad Anees
Assistant Professor
COMSATS Institute of Information Technology
Attock 43600, Pakistan
www.aneconomist.com

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

-------------------------------------------
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
WWW:    http://www.nd.edu/~rwilliam

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index