{ } Raw JSON

bundles / scipy latest / scipy / stats / _qmvnt / _qauto

function

scipy.stats._qmvnt:_qauto

source: /scipy/stats/_qmvnt.py :148

Signature

def   _qauto ( func covar low high rng error = 0.001 limit = 10000 ** kwds )

Summary

Automatically rerun the integration to get the required error bound.

Parameters

func : callable

Either _qmvn or _qmvt.

covar, low, high : array

As specified in _qmvn and _qmvt.

rng : Generator, optional

default_rng(), yada, yada

error : float > 0

The desired error bound.

limit : int > 0:

The rough limit of the number of integration points to consider. The integration will stop looping once this limit has been exceeded.

**kwds

Other keyword arguments to pass to func. When using _qmvt, be sure to include nu= as one of these.

Returns

prob : float

The estimated probability mass within the bounds.

est_error : float

3 times the standard error of the batch estimates.

n_samples : int

The number of integration points actually used.

Aliases

  • scipy.stats._multivariate._qauto