Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: test with Interaction terms (#) in regression


From   Philip Ender <[email protected]>
To   [email protected]
Subject   Re: st: test with Interaction terms (#) in regression
Date   Tue, 4 Dec 2012 09:48:53 -0800

Rodrigo Badilla <[email protected]> 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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index