Unused Argument, not recognising rho

Hi, I'm trying to carry out a likelihood ratio on my dataset but the code I've been given by my uni isn't working. This is what I've tried so far....
This was a code that worked for the previous step:


This is the code that is giving me an error message:

Error in qa(a, lambda, pi, rho) : unused argument (rho)

and this one to calculate sum....

Error in qa(a, lambda, pi, rho) : unused argument (rho)

Any guidance would be greatly appreciated! Thanks :slight_smile:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.