Statalist


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

st: interaction in linear regression


From   [email protected]
To   [email protected]
Subject   st: interaction in linear regression
Date   Mon, 21 Sep 2009 09:29:04 -0300

Hi, everyone,

I want to test for interaction in linear regression, between two  
categorical variables, and I used the following comand in STATA:

xi: regress y i.var1 i.var2 var3 i.var1*i.var2

so the model gives me more than one beta/p-values of interaction, but  
ommit one category, and I would like to know the p-value of all beta.  
How can I get it?

Another question is about interpretation of interaction: if only one  
beta is statisticaly significant, can I interpretate that there are  
interaction between the two variables?

thanks so much,

-- 
Lana Carneiro Almeida
Doutoranda/Depto de Nutrição
Faculdade de Saúde Pública/USP








*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index