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