PDF[dist,x]
gives the probability density function for the distribution dist evaluated at x.
PDF[dist,{x1,x2,…}]
gives the multivariate probability density function for a distribution dist evaluated at {x1,x2,…}.
PDF[dist]
gives the PDF as a pure function.
Details
- For discrete distributions, PDF is also known as a probability mass function.
- For continuous distributions, PDF[dist,x] dx gives the probability that an observed value will lie between x and x+dx for infinitesimal dx.
- For discrete distributions, PDF[dist,x] gives the probability that an observed value will be x.
- For continuous multivariate distributions, PDF[dist,{x1,x2,…}]dx1 dx2 … gives the probability that an observed value will lie in the box given by the limits xi and xi+dxi for infinitesimal dxi.
- For discrete multivariate distributions, PDF[dist,{x1,x2,…}] gives the probability that an observed value will be {x1,x2,…}.
Examples
open allclose allBasic Examples (4)
Scope (23)
Parametric Distributions (5)
Obtain a machine-precision result:
Obtain a result at any precision for a continuous distribution:
Obtain a result at any precision for a discrete distribution with inexact parameters:
PDF threads element-wise over lists:
Nonparametric Distributions (4)
PDF for non-parametric distributions:
Compare with the value for the underlying parametric distribution:
Plot the PDF for a histogram distribution:
Closed-form expression for the PDF of a kernel mixture distribution:
Derived Distributions (10)
Product of independent distributions:
Component mixture distribution:
Quadratic transformation of a discrete distribution:
Parameter mixture distribution:
Formula distribution defined by its PDF:
Defined by its survival function:
The PDF for QuantityDistribution assumes the argument is a Quantity with compatible units:
Random Processes (4)
Find the PDF for a SliceDistribution of a discrete-state random process:
A continuous-state random process:
Find the multiple time-slice PDF for a discrete-state process:
A multi-slice for a continuous-state process:
Find the PDF for the StationaryDistribution of a discrete-state random process:
Applications (10)
Visualizing PDFs (5)
Confidence Intervals (1)
Properties & Relations (9)
The integral or sum over the support of the distribution is unity:
The CDF is the integral of the PDF for continuous distributions; :
The CDF is the integral of the PDF ; :
The CDF is the sum of the PDF for discrete distributions :
The survival function is the integral of the PDF ; :
Expectation for for a continuous distribution is the PDF-weighted integral :
The expectation for for a discrete distribution is the PDF-weighted sum :
The probability of for a discrete univariate distribution is given by the PDF:
The HazardFunction of a distribution is a ratio of the PDF and the survival function:
Possible Issues (3)
Symbolic closed forms do not exist for some distributions:
Substitution of invalid values into symbolic outputs can give results that are not meaningful:
Passing it as an argument will generate correct results:
The PDF of a distribution whose measure is incompatible with the Lebesgue measure or counting measure on the integer lattice may not evaluate or may give an incorrect result:
The result of the PDF is not normalized:
The distribution measure has an atom at the origin, and hence is incompatible with the Lebesgue measure:
The incompatibility manifests itself in a jump discontinuity of the CDF at the atom location:
Mixed distributions are fully supported by Expectation, Probability, RandomVariate, etc.:
Text
Wolfram Research (2007), PDF, Wolfram Language function, https://reference.wolfram.com/language/ref/PDF.html (updated 2010).
CMS
Wolfram Language. 2007. "PDF." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2010. https://reference.wolfram.com/language/ref/PDF.html.
APA
Wolfram Language. (2007). PDF. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PDF.html