View source: R/ICA_SurvSurv_copula.R
compute_ICA_SurvSurv | R Documentation |
The compute_ICA_SurvSurv()
function computes the individual causal
association (and associated quantities) for a fully identified D-vine copula
model in the survival-survival setting.
compute_ICA_SurvSurv(
copula_par,
rotation_par,
copula_family1,
copula_family2,
n_prec,
q_S0,
q_T0,
q_S1,
q_T1,
composite,
marginal_sp_rho = TRUE,
seed = 1,
mutinfo_estimator = NULL,
plot_deltas = FALSE,
restr_time = +Inf
)
copula_par |
Parameter vector for the sequence of bivariate copulas that
define the D-vine copula. The elements of |
rotation_par |
Vector of rotation parameters for the sequence of
bivariate copulas that define the D-vine copula. The elements of
|
copula_family1 |
Copula family of |
copula_family2 |
Copula family of the other bivariate copulas. For the
possible options, see |
n_prec |
Number of Monte Carlo samples for the computation of the mutual information. |
q_S0 |
Quantile function for the distribution of |
q_T0 |
Quantile function for the distribution of |
q_S1 |
Quantile function for the distribution of |
q_T1 |
Quantile function for the distribution of |
composite |
(boolean) If |
marginal_sp_rho |
(boolean) Compute the sample Spearman correlation
matrix? Defaults to |
seed |
Seed for Monte Carlo sampling. This seed does not affect the global environment. |
mutinfo_estimator |
Function that estimates the mutual information
between the first two arguments which are numeric vectors. Defaults to
|
plot_deltas |
Plot the sampled individual causal effects? Defaults to
|
restr_time |
Restriction time for the potential outcomes. Defaults to
|
(numeric) A Named vector with the following elements:
ICA
Spearman's rho, \rho_s (\Delta S, \Delta T)
(if asked)
Marginal association parameters in terms of Spearman's rho (if asked):
\rho_{s}(T_0, S_0), \rho_{s}(T_0, S_1), \rho_{s}(T_0, T_1),
\rho_{s}(S_0, S_1), \rho_{s}(S_0, T_1),
\rho_{s}(S_1, T_1)
Survival classification proportions (if asked):
\pi_{harmed}, \pi_{protected}, \pi_{always}, \pi_{never}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.