I am trying to run what I believe is equivalent code however, I am getting an error message when I run the meglm code. Is there other syntax I should be using to achieve the results obtained from mixed.
mixed code: (note edited to include year, which does allow the code to run)
mixed lnallcrimes target##pp year || citycode: || study_area:
meglm code:
meglm lnallcrimes target##pp year || citycode: || study_area: , family(gaussian)
error messages (i get two different errors, it changes)
either:
cannot compute an improvement -- discontinuous region encountered
or
Hessian is not negative semidefinite
thank you! any help would be appreciate and if this has been answered elsewhere sorry.
mixed code: (note edited to include year, which does allow the code to run)
mixed lnallcrimes target##pp year || citycode: || study_area:
meglm code:
meglm lnallcrimes target##pp year || citycode: || study_area: , family(gaussian)
error messages (i get two different errors, it changes)
either:
cannot compute an improvement -- discontinuous region encountered
or
Hessian is not negative semidefinite
thank you! any help would be appreciate and if this has been answered elsewhere sorry.
Comment