Description Usage Arguments Value
Calculate predictions (marginal expectations)
1 | predict_mmrr(X, Beta, sigma, type, num_nodes = 15)
|
X |
An nr x p matrix of predictors. The first r elements are predictors for the r responses in the first independent response vector, and so on. |
Beta |
A p-vector of latent regression coefficients |
sigma |
An r-vector of standard deviations for the responses, i.e. sqrt(diag(Sigma)). |
type |
An r-vector indicating response types: 1 means normal, 2 means Bernoulli, and 3 means Poisson. |
num_nodes |
Number of nodes to use in Gaussian quadrature used to calculate predictions |
An n x r matrix of predicted (fitted) values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.