Description Usage Arguments Value
Log joint density under RVB2
1 | logpy_RVB2(ttheta, y, X, Z, Zt, Zy, etahat, vbeta0, Sinv, model, m, n, p, r)
|
ttheta |
Numeric vector. All global and local variables. |
y |
List. Responses per cluster |
X |
List. Covariates per cluster for fixed effects |
Z |
List. Covariates per cluster for random effects |
Zt |
List. Output from transformZi |
Zy |
Numeric or vector. Z^T y |
etahat |
List. Contains per cluster MLEs under RVB1 regularized model |
vbeta0 |
Numeric. Prior variance for fixed effects |
Sinv |
Matrix. Inverse of prior covariance matrix for random effects |
model |
Character. Either "poisson" or "binomial" |
m |
Integer. Number of trials if "binomial" |
n |
Integer. Number of clusters |
p |
Integer. Number of fixed effects |
r |
Integer. Number of random effects |
Numeric. Log joint density for RVB2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.