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


From   Grethe Søndergaard <[email protected]>
To   [email protected]
Subject   Re: re: st: overall test of interaction
Date   Wed, 17 Nov 2010 09:15:25 +0100

Thank you!
It worked just fine.

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