sample_copula_parameters {Surrogate} | R Documentation |
Sample Unidentifiable Copula Parameters
Description
The sample_copula_parameters()
function samples the unidentifiable copula
parameters for the partly identifiable D-vine copula model, see for example
fit_copula_model_BinCont()
and fit_model_SurvSurv()
for more information
regarding the D-vine copula model.
Usage
sample_copula_parameters(
copula_family2,
n_sim,
eq_cond_association = FALSE,
lower = c(-1, -1, -1, -1),
upper = c(1, 1, 1, 1)
)
Arguments
copula_family2 |
Copula family of the other bivariate copulas. For the
possible options, see |
n_sim |
Number of copula parameter vectors to be sampled. |
eq_cond_association |
(boolean) Indicates whether |
lower |
(numeric) Vector of length 4 that provides the lower limit,
|
upper |
(numeric) Vector of length 4 that provides the upper limit,
|
Value
A n_sim
by 4
numeric matrix where each row corresponds to a
sample for .
Sampling
In the D-vine copula model in the Information-Theoretic Causal Inference
(ITCI) framework, the following copulas are not identifiable: ,
,
,
. Let the corresponding
copula
parameters be
The allowable range for this parameter vector depends on the corresponding copula families. For parsimony and comparability across different copula families, the sampling procedure consists of two steps:
Sample Spearman's rho parameters from a uniform distribution,
Transform the sampled Spearman's rho parameters to the copula parameter scale,
.
These two steps are repeated n_sim
times.
Conditional Independence
In addition to range restrictions through the lower
and upper
arguments,
we allow for so-called conditional independence assumptions.
These assumptions entail that and
. Or in other words,
and
.
In the context of a surrogate evaluation trial (where
corresponds to the probability integral transformation of
) this assumption could be justified by subject-matter knowledge.