1
$\begingroup$

I have fish data from 2 sites and am looking to see if there is a difference in some hormone concentrations (continuous) between the sites. However, it turned out the size of the fish differed between sites so I also want to include this in my model, leaving me with one categorical (2 levels) and one continuous independent variable.

So far I have made linear models and used a multiple linear regression but now I'm wondering if that is the right thing to do when one of the independent variables is categorical?

$\endgroup$

1 Answer 1

1
$\begingroup$

Yes, multiple linear regression is appropriate here. It would work even if there were only categorical predictors, because an ANOVA is just a linear regression.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.