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]

st: RE: margeff after the glm command


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: RE: margeff after the glm command
Date   Thu, 13 May 2010 17:48:56 +0200

<>

You would have to type

*************
di e(depvar)
*************

in any case to make this work...

HTH
Martin


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Sabrina Carrossa
Sent: Donnerstag, 13. Mai 2010 17:16
To: [email protected]
Subject: st: margeff after the glm command

Hi all,

I wish to compute the average marginal effect (margeff) after the glm
command.

Indeed, I have a separation problem, so I found  the "firthlogit
program" writtend by Joseph Coveney (thanks!):
http://www.stata.com/statalist/archive/2005-11/msg00786.html

Unfortunately stata shows the following error when I try to execute
the margeff command: "__000006 not found
r(111)"

I guess that the problem is that stata doesn't find the dependent
variable, becouse when I type: "e(depvar)" it shows: "depvar not found
r(111)";

Is there any chance to use the logit postest command after the glm
(with the link option?)

I hope it is clear.
Thanks for your help!

-- 
sabrina
*
*   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/

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index