bundles / scipy latest / scipy / stats / _multivariate / multivariate_t_gen / logpdf
function
scipy.stats._multivariate:multivariate_t_gen.logpdf
source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_multivariate.py:5179
Signature
def logpdf(self, x, loc = None, shape = 1, df = 1)Summary
Log of the multivariate t-distribution probability density function.
Parameters
x: array_likePoints at which to evaluate the log of the probability density function.
loc: array_like, optionalLocation of the distribution. (default
0)shape: array_like, optionalPositive semidefinite matrix of the distribution. (default
1)df: float, optionalDegrees of freedom of the distribution; must be greater than zero. If
np.infthen results are multivariate normal. The default is1.allow_singular: bool, optionalWhether 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)
✗np.float64(-7.185980199414858)
See also
Probability density function.
Aliases
scipy.stats._multivariate.multivariate_t_gen.logpdf