Description Usage Arguments Value
Calculate the parameters of the mNIX conjugate posterior distribution.
1 | mnix_post(id, y, X, lambda, Omega, nu, tau)
|
id |
Subject identifiers. A vector of length |
y |
Response vector for all subjects. A vector of length |
X |
Covariate matrix from all subjects. A matrix of size |
lambda |
Prior mean parameter. A vector of length |
Omega |
Prior precision matrix. A matrix of size |
nu |
Prior degrees-of-freedom. A scalar or a vector of length |
tau |
Prior scale parameter. A scalar or a vector of length |
A list with elements lambda
, Omega
, nu
, and tau
of posterior parameters, consisting of a matrix of size n x p
, and array of size p x p x n
, and two vectors of length n
, respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.