Description Usage Arguments Value
Log joint density and gradient for RVB2
1 | Lgrad_RVB2(ttheta, y, X, Z, Zt, Zy, etahat, vbeta0, Sinv, model, m, n, p, r, d)
|
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 |
d |
Integer. Total number of variables |
List. Containing log joint density and the gradient vector for the log joint density under RVB2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.