Vinecop
- class Vinecop(*args, **kwargs)
A class for vine copula models.
A vine copula model is characterized by its structure (see
RVineStructureobjects) and the pair-copulas (seeBicopobjects).Attributes
dimThe dimension.
familiesFamilies of all pair-copulas.
matrixExtracts the R-vine structure's matrix.
nobsThe number of observations (for fitted objects only).
nparsThe total number of parameters.
orderThe R-vine structure's order.
pair_copulasAll pair-copulas.
parametersThe parameters of all pair-copulas.
rotationsThe rotations of all pair-copulas.
structureThe R-vine structure.
tausThe Kendall's taus of all pair-copulas.
thresholdThe threshold (for thresholded copulas only).
trunc_lvlThe truncation level.
var_typesThe types of each variables.
Methods
Default constructor for the
Vinecopclass.Evaluates the Akaike information criterion (AIC).
Evaluates the Bayesian information criterion (BIC).
Evaluates the copula distribution.
Fits the parameters of a pre-specified vine copula model.
Summarizes the model into a string (can be used for printing).
Factory function to create a Vinecop from data.
Instantiates a D-vine with all pair-copulas set to independence.
Instantiates from a JSON file.
Instantiates from a nlohmann::json object.
Factory function to create a Vinecop using either a structure or a matrix.
Gets the family of a pair-copula.
Gets a pair-copula.
Gets the parameters of a pair-copula.
Gets the rotation of a pair-copula.
Gets the kendall's tau of a pair-copula.
Evaluates the inverse Rosenblatt transform.
Evaluates the log-likelihood.
Evaluates the modified Bayesian information criterion for vines (mBICV).
Evaluates the copula density.
Generates a plot for the Vinecop object.
Evaluates the Rosenblatt transform for a vine copula model.
In other words,
select()behaves differently depending on its current truncation level and the truncation level specified in the controls, respectively calledtrunc_lvland.in what follows.Simulates from a vine copula model, see
inverse_rosenblatt().Writes the copula object into a JSON file.
Converts the copula into a nlohmann::json object.
Truncates the vine copula model.