Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Continuous and binary predictor

Hello,

I would like to do an analysis in JASP where I want to investigate the relationship between a continuous and a binary predictor (between groups) with one outcome variable. I was thinking about using a Bayesian ANCOVA with the continuous predictor as the covariate and the binary predictor as the fixed factor. However, this does not allow me to add an interaction between the predictors to the model.

Is there a way to do this in JASP? If not, does anyone have a reference to an R function that allows me to do this?

Best,

Max

Comments

  • Ah, good point, I'll bring this to the attention of our experts on this topic.

    Cheers,

    E.J.

  • edited August 2021

    Hi Max,

    You can add interactions by going to the Model section and select multiple components with shift or ctrl and add them to the model terms simultaneously. Here's the gif for ANOVA, but the same principle holds for ANCOVA.


    Cheers,

    Alexander

  • @AlexanderLy Aah, that worked thanks! I looked in this tab but I didn't think of using shift to combine the factors 🤦

Sign In or Register to comment.