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: overall test of interaction


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: overall test of interaction
Date   Mon, 15 Nov 2010 13:36:39 +0000 (GMT)

--- On Mon, 15/11/10, Grethe Søndergaard wrote:
> I am analysing my data using a stratyfied cox-regression
> analysis Since I want to examine if any interaction occurs
> between education and birthyear, I have inserted an
> interaction-term:
> 
> stcox i.education i.birthyear i.education#i.birthyear,
> strata(group-id) vce(cluster person-id)
> 
> Is it possible for me to do an overall test in order to
> see, if the interaction is significant? Since I am using
> vce(cluster), I cannot do a lrtest of a model with and
> without the interaction term...

You can use -test- to do a Wald test of the hypothesis that
all interaction terms are zero. 

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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