Skip to content
Prev 19212 / 20628 Next

Likelihood function of lme4

Yes, I am trying to run the Vuong test.

The other model with which I am comparing the lme4 model belongs to the
"frontier" class of models. I did use nonnest2 but got the following error:
Error in UseMethod("llcont") :
  no applicable method for 'llcont' applied to an object of class "frontier"

So I decided to calculate the Vuong statistic by constructing it using
observation-level loglikelihoods.

Thank you.

Regards,
Yashree