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]
st: using the test command within group
From 
 
Jordan Silberman <[email protected]> 
To 
 
[email protected] 
Subject 
 
st: using the test command within group 
Date 
 
Sat, 2 Mar 2013 15:59:18 -0500 
Hi Statalist,
I have a mixed-effects logistic model (xtmelogit) that includes a
group variable (grp = 1 or 2) and 2 predictors (x1 and x2). I'd like
to use the test command (or perhaps some other command) to test the
hypothesis that x1 and x2 are equally strong predictors of the
dependent variable for subjects in group 2 only. It would of course be
easy to do this with the test command if I wanted to test this
hypothesis for the full sample (test x1 = x2). But I can't find a way
to test this hypothesis for just one level of the group variable.
Suggestions?
Thanks,
Jordan
*
*   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/