Hi Stata users,
I am trying to get mata to use a formula for REML from a textbook using the K commutation matrix reml.do which is different from the process used in mixed. I have got it to work on a simple dataset but when I test it with optimise() I keep getting errors due to an argument mismatch. Do file attached.
Appreciate any help. GitHub couldn't solve it.
Thanks,
Matt
I am trying to get mata to use a formula for REML from a textbook using the K commutation matrix reml.do which is different from the process used in mixed. I have got it to work on a simple dataset but when I test it with optimise() I keep getting errors due to an argument mismatch. Do file attached.
Appreciate any help. GitHub couldn't solve it.
Thanks,
Matt

Comment