{ } Raw JSON

bundles / scipy latest / scipy / stats / _multivariate / multivariate_t_gen / pdf

function

scipy.stats._multivariate:multivariate_t_gen.pdf

source: /scipy/stats/_multivariate.py :5146

Signature

def   pdf ( self x loc = None shape = 1 df = 1 allow_singular = False )

Summary

Multivariate t-distribution probability density function.

Parameters

x : array_like

Points at which to evaluate the probability density function.

loc : array_like, optional

Location of the distribution. (default 0)

shape : array_like, optional

Positive semidefinite matrix of the distribution. (default 1)

df : float, optional

Degrees of freedom of the distribution; must be greater than zero. If np.inf then results are multivariate normal. The default is 1.

allow_singular : bool, optional

Whether to allow a singular matrix. (default False)

Returns

pdf : Probability density function evaluated at `x`.

Examples

from scipy.stats import multivariate_t
x = [0.4, 5]
loc = [0, 1]
shape = [[1, 0.1], [0.1, 1]]
df = 7
multivariate_t.pdf(x, loc, shape, df)

Aliases

  • scipy.stats._multivariate.multivariate_t_gen.pdf