Bicop.__init__
- Bicop.__init__(self, family: pyvinecopulib.BicopFamily = BicopFamily.indep, rotation: int = 0, parameters: numpy.ndarray[dtype=float64, shape=(*, *)] = 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
Bicop.from_family()
to instantiate an independent bivariate copula. It can then be used to select a model from data usingBicop.select()
. Or if aBicopFamily
is passed to the constructor, then the methodBicop.fit()
can be used to fit the copula to data.Alternatives to instantiate bivariate copulas are:
Bicop.from_family()
: Instantiate from a family, rotation, parameters, and variable types.Bicop.from_data()
: Instantiate from data, as well as optional controls and variable types.Bicop.from_file()
: Instantiate from a file.Bicop.from_json()
: Instantiate from a JSON string.