R/vinecop_methods.R
predict_vinecop.Rd
Predictions of the density and distribution function for a vine copula model.
a vinecop
object.
points where the fit shall be evaluated.
what to predict, either "pdf"
or "cdf"
.
number of samples used for quasi Monte Carlo integration when
what = "cdf"
.
number of cores to use; if larger than one, computations are
done in parallel on cores
batches.
unused.
fitted()
can only be called if the model was fit with the
keep_data = TRUE
option.
When at least one variable is discrete, two types of
"observations" are required in newdata
: the first \(n \; x \; d\) block
contains realizations of \(F_{X_j}(X_j)\). The second \(n \; x \; d\)
block contains realizations of \(F_{X_j}(X_j^-)\). The minus indicates a
left-sided limit of the cdf. For, e.g., an integer-valued variable, it holds
\(F_{X_j}(X_j^-) = F_{X_j}(X_j - 1)\). For continuous variables the left
limit and the cdf itself coincide. Respective columns can be omitted in the
second block.