Interactions (Interactive)

Author

Josef Fruehwald

Published

March 23, 2023

Important

The axis labels will only show in light mode!

slope_a = 0
intercept_a = 0
slope_b = 0
intercept_b = 0
x_center = 0
maximal = 45
a_at_x = 0
b_at_x = 0
a_at_x1 = 0
b_at_x1 = 0
b_eff = 0
b_counter = 0
interaction = 0
myline = Array(4) [Object, Object, Object, Object]
interceptPoint = Array(1) [Object]
arrowLine = Array(1) [Object]
a_step = Array(2) [Object, Object]
b_step = Array(2) [Object, Object]
b_interaction = Array(1) [Object]
−40−30−20−10010203040−4−20246ab

What you’d see in the regression results for lm(y~x*group)

regressionTable = Array(4) [Object, Object, Object, Object]
termestimatesymbol
Intercept0black dot
x0dashed blue step
groupb0red arrow
x:groupb0orange arrow

Reuse

CC-BY-SA 4.0