Compute the Likelihood of the PN distribution (mixed effects)
lik_me(
theta_cos,
theta_sin,
X1,
X2,
Z1,
Z2,
beta1,
beta2,
b1,
b2,
N,
pred,
iteration
)
A List with the cosine of the circular dependent variable.
A List with the sine of the circular dependent variable.
A list of fixed effect model matrices for component I.
A list of fixed effect model matrices for component II.
A list of random effect model matrices for component I.
A list of random effect model matrices for component II.
estimated fixed effect coefficients of the first component
estimated fixed effect coefficients of the second component
estimated random effect coefficients of the first component
estimated random effect coefficients of the second component
sample size at second level
An empty list for likelihood computation.
iteration number at which likelihood is computed