dcondmvtnorm | R Documentation |
The function computes the conditional density of (truncated) Gaussian or Student components 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.
dcondmvtnorm(x, ind, lbound = rep(-Inf, length(ind)), ubound = rep(Inf,
length(ind)), mu, sigma, df = NULL, model = c("norm", "stud"),
n = 500, log = FALSE)
x |
a |
ind |
a |
lbound |
|
ubound |
|
mu |
|
sigma |
|
df |
degrees of freedom of the |
model |
string indicating family, either |
n |
sample size for simulations. Default to 500. |
log |
logical; should log probability be returned? Default to |
the conditional (log) density of the vector x[ind]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.