FitControlsVinecop
- class FitControlsVinecop(*args, **kwargs)
A class for controlling fits of vine copula models.
- Attributes:
allow_rotationsReturns ——- bool whether non-zero copula rotations are considered during family selection.
conditioning_setReturns ——- list of int the conditioning set (1-based variable indices) placed at the tail of the vine order during structure selection; empty for unconditional selection.
family_setReturns ——- list of BicopFamily the set of pair-copula families considered during selection.
nonparametric_grid_sizeReturns ——- int the grid size used during nonparametric fits (number of grid points per axis).
nonparametric_methodReturns ——- str the nonparametric estimator used for the
tllfamily (one of"constant","linear","quadratic").nonparametric_multReturns ——- float the bandwidth multiplier applied during nonparametric fits.
num_threadsReturns ——- int the number of threads used during fitting.
parametric_methodReturns ——- str the parametric estimator used for parametric families (one of
"mle","itau").preselect_familiesReturns ——- bool whether families are pre-screened by a quick fit before the full criterion comparison.
psi0Returns ——- float the prior probability of a non-independence copula used by the
mbiccriterion.seedsReturns ——- list of int the random seeds used by the structure-selection RNG (empty to use a non-reproducible seed).
select_familiesReturns ——- bool whether pair-copula families are selected during fitting (when
False, pre-specified families are used).select_thresholdReturns ——- bool whether the threshold is selected automatically during fitting.
select_trunc_lvlReturns ——- bool whether the truncation level is selected automatically via the mBICv criterion during fitting.
selection_criterionReturns ——- str the model-selection criterion (one of
"loglik","aic","bic","mbic").show_traceReturns ——- bool whether progress information is printed during fitting.
thresholdReturns ——- float the absolute-dependence threshold below which pair copulas are set to independence during structure selection (
0disables).tree_algorithmReturns ——- str the structure-selection algorithm (one of
"mst_prim"for Dissmann’s greedy heuristic or"random_weighted"for Wilson-weighted random spanning trees).tree_criterionReturns ——- str the edge-weighting criterion used to grow the structure (one of
"tau","rho","hoeffd","mcor","joe","custom").tree_criterion_functionReturns ——- TreeCriterionFunction the custom edge-weight function used when
tree_criterionis"custom"(empty otherwise).trunc_lvlReturns ——- int the truncation level (the number of trees that will be fit; pair copulas above this level are forced to independence).
weightsReturns ——- ndarray, shape (n,), dtype float the per-observation weights used during fitting (empty when observations are weighted equally).
Attributes
- Returns:
- Returns:
- Returns:
- Returns:
- Returns:
- Returns:
- Returns:
- Returns:
- Returns:
- Returns:
- Returns:
- Returns:
- Returns:
- Returns:
- Returns:
- Returns:
- Returns:
- Returns:
- Returns:
- Returns:
- Returns:
- Returns:
Methods
Instantiates custom controls for fitting vine copula models.