View source: R/goodness_of_fit_copula_models.R
association_gof_copula | R Documentation |
Produce Associational GoF plot
association_gof_copula(
fitted_submodel,
treat,
endpoint_types,
return_data = FALSE,
grid = NULL,
...
)
fitted_submodel |
List returned by |
treat |
Value for the treatment indicator. |
endpoint_types |
Character vector with 2 elements indicating the type of
endpoints. Each element is either |
return_data |
(boolean) Return the data used in the goodness-of-fit plot
(without the plot itself). This is useful when the user wants to customize the
plots, e.g., using |
grid |
(numeric) vector of values for the (surrogate) endpoint at which the regression function is evaluated. |
... |
Extra argument passed onto |
See the documentation of plot.vine_copula_fit()
for the default
semi-parametric estimators.
If return_data
is TRUE
, this function will return a data frame that can
be used to create customized plots. The following variables are present in
the returned data frame:
observed
: The semi-parametric estimate of the regression function
E(T | S)
.
upper_ci
, lower_ci
: Upper and lower limit of the pointwise 95%
confidence interval for the semi-parametric estimate of the regression
function.
value
: Value for the surrogate endpoint at which the estimates for the
regression function are evaluated.
model_based
: Model-based estimate of the regression function.
plot.vine_copula_fit()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.