Description Usage Arguments Value
RVB1 Algorithm implementation
1 | Alg_RVB1(y, X, Z, Wprior, etahat, model, m = 1)
|
y |
List. Responses per cluster |
X |
List. Covariates per cluster for fixed effects |
Z |
List. Covariates per cluster for random effects |
Wprior |
List. Wishart prior for random effect covariance |
etahat |
List. Estimate of canonical parameter about which to approximate |
model |
Character. Either "poisson" or "binomial" |
m |
Integer. Number of trials if model is binomial. Keep m = 1 if model is "poisson" |
List containing posterior covariance C, posterior mean mu, the ELBO values per each 1000 iterations, the run duration, and the final ELBO value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.