Description Usage Arguments Value
Sample from posterior under RVB1
1 | postb_RVB1_b1(RVB, y, X, Z, etahat, N, L, model, m = 1)
|
RVB |
List. Output from Alg_RVB1 |
y |
List. Responses per cluster |
X |
List. Covariates per cluster for fixed effects |
Z |
List. Covariates per cluster for random effects#' |
etahat |
List. Estimate of canonical parameter about which to approximate |
N |
Integer. Sample size |
L |
Integer. Number of clusters |
model |
Character. Either "poisson" or "binomial" |
m |
Positive integer. Number of trials in binomial. If poisson, keep as m = 1. |
Matrix of posterior samples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.