rcondmvtnorm | R Documentation |
The function samples (truncated) Gaussian or Student vectors
corresponding to indices ind
given the values at the remaining index.
The location vector mu
and the scale matrix sigma
are those of the d+p
vector.
The routine relies on the CDF approximation based on minimax exponential tilting implemented in the TruncatedNormal
package.
rcondmvtnorm(n = 1L, ind, x, lbound, ubound, mu, sigma, df = NULL,
model = c("norm", "stud"))
n |
sample size for the random vector; default to 1. |
ind |
a |
x |
a |
lbound |
|
ubound |
|
mu |
|
sigma |
|
df |
degrees of freedom of the |
model |
string indicating family, either |
an n by d matrix of conditional simulations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.