Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: mfx after svy: probit - "invalid e(rules) matrix" error


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: mfx after svy: probit - "invalid e(rules) matrix" error
Date   Sat, 04 Feb 2006 14:12:00 -0500

At 01:28 PM 2/4/2006, Erin Strumpf wrote:
I'd like to calculate marginal effects after running a svy: probit regression, and since dprobit isn't available for survey commands, I'm running:

xi: svy, subpop(temp): probit rfullret tx2 i.ragey_e rfemale i.rraceeth i.raedcat
mfx

the regression runs fine, but then I get the following error:
invalid e(rules) matrix
r(322);

and the mfx command doesn't run. I have searched the Stata help files, the Stata list, and the internet for this mysterious r(322) error, and I haven't come up with anything. Does anyone have any ideas what is going wrong here?

thanks,
Erin
. error 322
something that should be true of your estimation results is not

I don't have your data. But, when I run a different problem with svy: probit I do not encounter this error. So, I would say

* Make sure you have the latest update of Stata

* Try it without the svy: prefix and see if it works.

* You could also try installing and running the -margeff- command. However, I am not sure if it works correctly with -svyset- data or not.


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




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