Interaktionsplot
Verfasst: Do Jun 15, 2023 3:04 pm
Hi zusammen,
Ich habe für meine Masterarbeit eine moderierte Regression mit R Studio durchgeführt:
Das hat auch geklappt.
Ich würde die Interaktion jetzt gerne graphisch abbilden und nutze dafür aus dem "interactions"-Paket:
Ich bekomme dann folgende Error Message / Warning:
Kann mir jemand sagen, woran das liegt? Ich komme einfach nicht drauf...
Liebe Grüße,
Nina
Ich habe für meine Masterarbeit eine moderierte Regression mit R Studio durchgeführt:
Code: Alles auswählen
mod.reg <- lm(postppvt ~ preppvt * DH,
data = Mod_PPVT)
Ich würde die Interaktion jetzt gerne graphisch abbilden und nutze dafür aus dem "interactions"-Paket:
Code: Alles auswählen
interact_plot(model=mod.reg.ppvt, pred = postppvt, modx = DH)
Code: Alles auswählen
geom_path()`: Each group consists of only one observation.
ℹ Do you need to adjust the group aesthetic?
Warning message:
postppvt and DH are not included in an interaction with one another in the
model.
Liebe Grüße,
Nina