| |
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: margeff and svy: probit
At 02:32 PM 7/26/2006, Dimitriy V. Masterov wrote:
On 7/26/06, Richard Williams <[email protected]> wrote:
I just tried the following - given that margeff and mfx produce the
same results, I am guessing you are ok (but I can't guarantee it).
use "http://www.stata-press.com/data/r9/nhanes2f.dta"
svy: probit heartatk height weight female black
margeff, at(mean)
mfx
margeff, at(mean) model(probit)
I agree about the simple probit option. However,
margeff, at(mean) model(svy: probit)
yields a fairly different result.
Look at how the output is labeled though. It should probably return
an error when you do that, but instead it apparently thinks you
specified the -eform- option.
. margeff, at(mean) model(svy: probit)
Marginal effects at means on E(exp[xb]) after probit
------------------------------------------------------------------------------
heartatk | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
height | -.0041219 .0006151 -6.70 0.000 -.0053275 -.0029164
weight | .0011411 .0002983 3.82 0.000 .0005563 .0017258
female | -.0920927 .0127091 -7.25 0.000 -.117002 -.0671833
black | -.0132351 .0101956 -1.30 0.194 -.0332181 .0067479
------------------------------------------------------------------------------
. margeff, at(mean) model(probit) eform
Marginal effects at means on E(exp[xb]) after probit
------------------------------------------------------------------------------
heartatk | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
height | -.0041219 .0006151 -6.70 0.000 -.0053275 -.0029164
weight | .0011411 .0002983 3.82 0.000 .0005563 .0017258
female | -.0920927 .0127091 -7.25 0.000 -.117002 -.0671833
black | -.0132351 .0101956 -1.30 0.194 -.0332181 .0067479
------------------------------------------------------------------------------
-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: [email protected]
WWW (personal): http://www.nd.edu/~rwilliam
WWW (department): http://www.nd.edu/~soc
*
* 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/