Presentation is loading. Please wait.

Presentation is loading. Please wait.

Plotting a continuous interaction

Similar presentations


Presentation on theme: "Plotting a continuous interaction"— Presentation transcript:

1 Plotting a continuous interaction
Lindsay/Michael 9/29/2017

2 The scenario In a complex model, there is a particular continuous interaction (e.g., hypertension medications * time) that you want to highlight This shows how to paste the regression table into Excel and multiply out the equation for several prototypical cases at each time of measurement And then two ways to plot this.

3 Get the regression table
-

4 Get the regression table
- For the variables you do not wish to vary in your figure, you want to hold constant, which means multiplying these b-weights by the variable means

5 Get the regression table
- Occasion is a variable you want to multiply out for each level of occasion, since we want to see change over time

6 Get the regression table
- For these variables, we want to explore people at different levels of hypertension medication Aiken & West suggest average, 1SD below average, and 1SD above average

7 Get the needed means (and SD)
- Average = 5 Below average = 5-2 = 3 Above average =

8 Multiply out the equation for each combo you are interested in
-

9 Transpose and plot … but there is a problem
Unequally spaced occasions treated as equally spaced

10 You can interpolate intervening occasions to smooth the line

11 The spreadsheet working all this out is available


Download ppt "Plotting a continuous interaction"

Similar presentations


Ads by Google