Bookmark and Share

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

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

Re: st: interaction

From   "Mary E. Mackesy-Amiti" <>
Subject   Re: st: interaction
Date   Thu, 01 Apr 2010 12:39:32 -0500

to set reference category of var1 to level 2:

char var1[omit] 2

riyadh shamsan wrote:
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:

Mary Ellen Mackesy-Amiti, Ph.D.
Research Assistant Professor
Community Outreach Intervention Projects (COIP)
School of Public Health m/c 923
Division of Epidemiology and Biostatistics
University of Illinois at Chicago
ph. 312-355-4892
fax: 312-996-1450

*   For searches and help try:

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