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