4
$\begingroup$

I am trying to make a Linear Mixed Model with two fixed factors ('ANTS and LABEL') with the ('STATE') as a random factor. Can anyone suggest to me how to proceed with such a model in R or Matlab?

An image of the data file is attached. Sample data file

$\endgroup$

1 Answer 1

4
$\begingroup$

Assuming that RATE is the response then in R the model would be:

RATE ~ ANTS + LABEL + (1|STATE)
$\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.