Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: RE: interaction


From   "Kieran McCaul" <Kieran.McCaul@uwa.edu.au>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: interaction
Date   Thu, 1 Apr 2010 05:48:49 +0800

...


char var1[omit] 2

will make 2 the reference level.



-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of riyadh
shamsan
Sent: Thursday, 1 April 2010 5:20 AM
To: statalist@hsphsun2.harvard.edu
Subject: st: interaction

using STATA 10

included an interaction of var1 (coded as 1,2,3) & var2 (coded as
1,2,3)  in my model

xi: regress i.var1*i.var2

the two variable have more then one level so the lowest level of var1
& var2 will be omitted so the question is

i want to include level 1  of var1 with different levels of var2 (2 & 3)

hope my question is clear!
*
*   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/

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index