Bookmark and Share

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


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

RE: RE: st: Negative probabilities after a margins command for a categorical variable (post logistic model).


From   "Scheetz, Marc" <mschee@midwestern.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   RE: RE: st: Negative probabilities after a margins command for a categorical variable (post logistic model).
Date   Tue, 15 Oct 2013 18:54:57 +0000

Excellent.  thanks Red Owl
m



-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Red Owl
Sent: Tuesday, October 15, 2013 11:44 AM
To: statalist@hsphsun2.harvard.edu
Subject: RE: RE: st: Negative probabilities after a margins command for a categorical variable (post logistic model).

Marc,

If you have installed -matamatrix- from SSC, you can simplify
the output with:

*** Begin Code ***
matamatrix invlogit(A[5..6,1...])

* or with

matamatrix invlogit(A[5..6,1...])'
*** End Code ***

Red Owl
redowl@liu.edu
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/

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


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