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]

st: RE: margeff after the glm command


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
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: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Sabrina Carrossa
Sent: Donnerstag, 13. Mai 2010 17:16
To: statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index