What does an interaction plot tell you?
Use an interaction plot to show how the relationship between one categorical factor and a continuous response depends on the value of the second categorical factor. This plot displays means for the levels of one factor on the x-axis and a separate line for each level of another factor.
How do you interpret regression interactions?
To understand potential interaction effects, compare the lines from the interaction plot:
- If the lines are parallel, there is no interaction.
- If the lines are not parallel, there is an interaction.
How do you do interaction terms in SAS?
You can specify interaction terms in the model statement as: model mort_10yr(ref=’0′) = age | sex | race | educ @2 / ; @the | pipe symbol tells SAS to consider interactions between the variables and then the @2 tells SAS to limit it to interaction level between 2 variables.
How do you explain interaction terms?
In summary: When there is an interaction term, the effect of one variable that forms the interaction depends on the level of the other variable in the interaction. Without an interaction term, the mean value for Females on Med B would have been α+β1 +β2.
What is the difference between PROC REG and PROC GLM?
Remember that the main difference between REG and GLM is that GLM didn’t produce parameter estimates and couldn’t run multiple model statements. If there is no CLASS statement within the procedure, GLM is assuming that all the independent variables are continuous and that the analysis of interest is regression.
What is class in PROC GLM?
The CLASS statement names the classification variables to be used in the model. Typical classification variables are Treatment , Sex , Race , Group , and Replication . You can adjust the order of CLASS variable levels with the ORDER= option in the PROC GLM statement.
How do you explain interactions in ANOVA?
Interaction effects represent the combined effects of factors on the dependent measure. When an interaction effect is present, the impact of one factor depends on the level of the other factor. Part of the power of ANOVA is the ability to estimate and test interaction effects.
What does interaction p value mean?
If the p-value in the ANOVA table indicates a statistically significant main effect or interaction effect, use the means table to understand the group differences. For interaction effects, the table displays all possible combinations of groups across both factors.