Bicop.__init__

Bicop.__init__(self, family: pyvinecopulib.families.BicopFamily = BicopFamily.indep, rotation: int = 0, parameters: numpy.ndarray = array([], shape=(0, 0), dtype=float64), var_types: collections.abc.Sequence[str] = ['c', 'c']) None

Default constructor for the Bicop class.

The default constructor uses from_family() to instantiate an independent bivariate copula. It can then be used to select a model from data using select(). Or if a BicopFamily is passed to the constructor, then the method fit() can be used to fit the copula to data.

Alternatives to instantiate bivariate copulas are:

  • from_family(): Instantiate from a family, rotation, parameters, and variable types.

  • from_data(): Instantiate from data, as well as optional controls and variable types.

  • from_file(): Instantiate from a JSON file, or a CBOR file when the filename ends in .cbor.

  • from_json(): Instantiate from a JSON string.