Skip to content

Gaussian Copula: Add parameter allow_singular #8454

Closed

Description

@Tobi0

The Gaussian Copula module is using scipy.stats package for the multivariate normal distribution. There is a parameter allow_singular=False which allows the covariance matrix to not have full rank. Unfortunately this parameter is not passed to the Copula interface.

It could be added here:

self.distr_mv = stats.multivariate_normal(cov=corr)

I currently wrote an inherited class, and singular matrixes for the copula seem to work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions