I am trying to fit a biv model (2 continuous phenotypes) with sex as definition variable to test for mean differences, however I get the same error over and over again:
Error: A definition variable has been declared in model 'Chol' that does not contain a data set
I cannot find where it goes wrong, I suspect it's somewhere in the matrices declared to store linear coefficients for covariate:
grandMean B_Sex defSex SexR expMean
Any help would be very much appreciated!