Skip to content

The function "mvndst" doesn't exist anymore in scipy.stats. #7

@marcovth

Description

@marcovth

Hello ...

Unfortunately, the function "mvndst" doesn't exist anymore in scipy.stats.
It seems, scipy relied on a Fortran module, and they had to remove it.

Do you think you could help me to find a replacement?

Thanks a lot.

# Cumulative Bivariate Normal Distribution
# Primarily called by Psi() function, part of the _Bjerksund_Stensland_2002 model
def _cbnd(a, b, rho):
    # This distribution uses the Genz multi-variate normal distribution 
    # code found as part of the standard SciPy distribution
    lower = np.array([0, 0])
    upper = np.array([a, b])
    infin = np.array([0, 0])
    correl = rho
    error, value, inform = mvn.mvndst(lower, upper, infin, correl)
    return value

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions