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

st: predictnl for effects and se of interaction terms in probit model


From   "shuang zhang" <[email protected]>
To   [email protected]
Subject   st: predictnl for effects and se of interaction terms in probit model
Date   Fri, 02 Dec 2005 16:03:46 +0000

Hi,

In my probit model, I have independent variables X1,X2,X3,X4,M, and the interaction terms X1*M, X2*M, X3*M, X4*M. I want to estimate the marginal effects of these variables, especially that of interaction terms. I know the command "predictnl" may help me to get right marginal effect and se. However, when I do the command with all these variables above, I meet problems.
1, I can get marginal effect and se of X1,X2,X3,X4,M by "predictnl".
2, When I want to estimate the interaction terms and write the command for them, the STATA report that my expression of "predictnl" is too long!
3, For a check, I use just X1,X2,X3,M and X1*M, X2*M, X3*M, which including three interaction terms. I can get the marginal effect and se of interaction terms by "predictnl". But I can't get results when I add X4 and have four interaction terms, where STATA told me my expression was too long.

I am rather confused by "predictnl". I am sure my command writtened correctly, but it can't work when I have four interaction terms!
Any advice on this problem is welcome!

Thanks very much!


Cheers,
Zhang Shuang

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement

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