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" <[email protected]>
To   "[email protected]" <[email protected]>
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: [email protected] [mailto:[email protected]] On Behalf Of Red Owl
Sent: Tuesday, October 15, 2013 11:44 AM
To: [email protected]
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
[email protected]
*
*   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