What is a Probabilty Density Function?

In summary: The probability density at any given point may be zero, but the function itself is not necessarily zero everywhere. And even if the probability density were zero at all points, the integral of the PDF would still give us the area under the curve, which is a measure of probability. This is similar to how we can find the mass of an object by integrating its mass density function, even if the density at any given point is zero.
  • #1
Mr Davis 97
1,462
44
What really is a probability density function for continuous random variables? I know that the probability for a single value occurring in a continuous probability distribution is so infinitesimal that it is considered 0, which is why we use the cumulative distribution function that is the the integral of the PDF from -∞ to some number x. However, if any single value in the PDF is 0, then how to we get a density curve and how are we able to integrate the PDF if all of its values (probabilities) are zero?
 
Mathematics news on Phys.org
  • #2
Mr Davis 97 said:
if all of its values (probabilities) are zero?
Why do you think this is possible?

Hint: write down the definition of density function. It contradicts the part I quoted. Where?
 
Last edited:
  • #3
Mr Davis 97 said:
What really is a probability density function for continuous random variables?

You can equally well ask: what is a mass density function for physical object? For example if a rod lying along the x-axis has a variable mass density, we can give it a mass density function that is a function of x. There is a mass density "at point x", but the mass "at point x" is zero. A probability mass density function is no more and no less mysterious than a physical mass density function.

It is not physically possible to "take a point" from the rod and put it in a sample dish. It's also not physically possible to take a random sample from a continuous probability distribution.
 
  • #4
In simplest terms, a probability density function is the derivative of a (nice) probability distribution function.

Specifically, "nice" functions are absolutely continuous.
 
  • #5
Mr Davis 97 said:
. However, if any single value in the PDF is 0,

To repeat pwnsnafu's comment. the values of a PDF f(x) need not be zero. You are saying "any single value in the PDF" when you mean "the probability of a single value of x computed by using the PDF". If f(x) is a probability density then f(x) is not equal to "the probability that the outcome is x". Instead, f(x) is equal to the probability density at x.

By analogy, the density of an object can be 1 gram per cubic centimeter at a point (x,y,z) without claiming that there is any mass "at" the point (x,y,z).

then how to we get a density curve

How do you get a mass density function if the mass of each point is zero? You take a limit of the mass per unit volume of sequence of volumes that shrink around the point. The probability density at x can be found by taking the limit of ( the probability of the event [x, x+ h]) / h as h approaches zero. This amounts to taking the derivative of the cumulative distribution and evaluating the derivative at x.

and how are we able to integrate the PDF if all of its values (probabilities) are zero?

As noted, above, the values of a PDF are not all zero.
 

FAQ: What is a Probabilty Density Function?

1. What is a probability density function (PDF)?

A probability density function (PDF) is a mathematical function that describes the probability distribution of a continuous random variable. It represents the relative likelihood of a random variable taking on a specific value or falling within a certain range of values.

2. How is a probability density function different from a probability mass function?

A probability mass function (PMF) is used to describe the probability distribution of a discrete random variable, while a PDF is used for continuous random variables. A PMF assigns a probability to each possible outcome, while a PDF assigns probabilities to ranges of values.

3. What is the relationship between a probability density function and a cumulative distribution function?

A cumulative distribution function (CDF) is the integral of a PDF. It represents the probability that a random variable falls within a certain range of values. The PDF describes the shape of the CDF, and the area under the curve of the PDF is equal to the probability of the random variable falling within a specific range.

4. How is a probability density function used in statistics?

PDFs are used in statistics to analyze and model continuous data. They can be used to calculate probabilities, determine the mean and variance of a random variable, and make predictions about future outcomes.

5. What are some common examples of probability density functions?

Some common examples of probability density functions include the normal distribution, the exponential distribution, and the beta distribution. These distributions are commonly used to model real-world phenomena, such as stock prices, waiting times, and test scores.

Back
Top