Re: st: test with Interaction terms (#) in regression
Date
Tue, 4 Dec 2012 09:48:53 -0800
Rodrigo Badilla <rodrigo.badilla@gmail.com> wrote:
I am runing a regression analisys with Interaction terms:
reg y i.x#c.z
now i d like run a test for the this interaction in differents categories.
------------------------
You have a categorical by continuous interaction which tells you
whether the slope of y on z differs among levels of x. The easiest
way of looking at this is
. margina x, dydx(z)
You have only one categorical and one continuous variable so I'm not
sure what you mean when you say, "I d like run a test for the this
interaction in differents categories."
--
Phil Ender
UCLA Statistical Consulting Group
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/