How can analyze if two variables exist an interaction?
I am doing a linear regression with two variables, and with two variables and interaction variables, and I am getting the following results:
lm(formula = rta ~ exp1 * exp3, data = datos)
Residuals:
Min 1Q Median 3Q Max
-3.3226 -0.4722 0.0434 0.5502 2.3274
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 48.4389 22.2931 2.173 0.0408 *
exp1 0.3055 0.2580 1.184 0.2490
exp3 -16.3179 12.2794 -1.329 0.1975
exp1:exp3 0.1446 0.1424 1.015 0.3210
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 1.147 on 22 degrees of freedom
Multiple R-squared: 0.8939, Adjusted R-squared: 0.8795
F-statistic: 61.8 on 3 and 22 DF, p-value: 7.031e-11
> modelo <- lm(data = datos,formula = rta ~ exp1+exp3)
> summary(modelo)
Call:
lm(formula = rta ~ exp1 + exp3, data = datos)
Residuals:
Min 1Q Median 3Q Max
-3.7130 -0.3310 0.0774 0.6270 1.8270
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 26.47311 5.37307 4.927 5.59e-05 ***
exp1 0.56000 0.06078 9.214 3.50e-09 ***
exp3 -3.86042 0.45663 -8.454 1.64e-08 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 1.147 on 23 degrees of freedom
Multiple R-squared: 0.889, Adjusted R-squared: 0.8793
F-statistic: 92.06 on 2 and 23 DF, p-value: 1.055e-11
The main question, here is how can interpret those results, and how can know if exists any interaction between those two predictors variables exp1 and exp2
Thanks