Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: how to use mfx with xtlogit


From   "Clive Nicholas" <[email protected]>
To   [email protected]
Subject   Re: st: how to use mfx with xtlogit
Date   Sat, 10 Jul 2004 05:38:01 +0100 (BST)

Gang Peng replied:

> Thanks for the responding. But how come mine doesn't work? Here's the
> code:
>
> . xtlogit internet education exp exp_2 marriage union job,fe
>
> Results omitteed..............................
>
> . mfx compute
>
> predict() expression  unsuitable for marginal effect calculation
> r(119);
>
> The above is the error message. Could you tell me what's wrong?
>
> I'll try -margin- command later.

Um, hard to say: I never encountered that problem, just mind-numbing
torpor. You could try something like

. mfx compute, predict(outcome(1))

and see if that works. It probably won't given the content of the error
message. But you never know.

I should make a correction: -margin- is _not_ available via SSC. To
download it, type:

. net from http://www.bkae.hu/bartus/stata
. net install margin

CLIVE NICHOLAS        |t: 0(044)191 222 5969
Politics              |e: [email protected]
Newcastle University  |http://www.ncl.ac.uk/geps
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index