Skip to content

Fitting Student Copula #8

@microprediction

Description

@microprediction

(1001, 2)
Fitting Student copula.

UnboundLocalError Traceback (most recent call last)
in ()
7 cop = StudentCopula(dim=2)
8 print(X.shape)
----> 9 cop.fit(X, method='clme')
10
11 # Visualization of CDF and PDF

/usr/local/lib/python3.6/dist-packages/pycopula/copula.py in fit(self, X, method, df_fixed, verbose, **kwargs)
809 rho = fitted_params
810 else:
--> 811 nu = fitted_params[0]
812 rho = fitted_params[1:]
813

UnboundLocalError: local variable 'fitted_params' referenced before assignment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions