{ } Raw JSON

bundles / scipy latest / scipy / stats / _multivariate / multivariate_t_gen / logpdf

function

scipy.stats._multivariate:multivariate_t_gen.logpdf

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

Signature

def   logpdf ( self x loc = None shape = 1 df = 1 )

Summary

Log of the multivariate t-distribution probability density function.

Parameters

x : array_like

Points at which to evaluate the log of 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

logpdf : Log of the 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.logpdf(x, loc, shape, df)

See also

pdf

Probability density function.

Aliases

  • scipy.stats._multivariate.multivariate_t_gen.logpdf