I'm working on a study in which I collect the following variables (among others), with which I would like to conduct a moderation analysis in R.
- condition (categorical, 2 levels) - predictor
- trait score (numerical) - moderator
- frequency of certain behaviour (numerical) - outcome
I have two questions regarding this situation:
What would be the best way to perform this moderation analysis, given the fact that the predictor is categorical and the moderator is numerical?
If I would like to test multiple, related outcome variables (e.g. frequency of subtypes of a certain behaviour) in this same way, would it be best to put them in one analysis, or in separate analyses?
Thanks in advance!