Description Usage Arguments Value
dmnorm_nngp
(and rmnorm_nngp
) calculate the approximate NNGP
likelihood for a fixed set of parameters (i.e., A and D matrices). Finally,
the distributions must be registered within nimble
.
1 | rmnorm_nngp(n, mean, AD, nID, N, k)
|
n |
N-vector of data. |
mean |
N-vector with current values of the mean |
AD |
N x (k+1) matrix; the first k columns are the 'A' matrix, and the last column is the 'D' vector. |
nID |
N x k matrix of neighbor indices. |
N |
Scalar; number of data measurements. |
k |
Scalar; number of nearest neighbors. |
The NNGP approximate density.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.