What is the cumulative distribution function?

The cumulative distribution function (CDF) of a random variable X is defined as the probability that X takes on a value less than or equal to a given value.

The following function is used for calculating the cumulative distribution function:

Where xx represents a specific value of the random variable XX and PP represents the probability.

Example

Let's take an example of a fair coin that is tossed twice. The random variable XX denotes the number of heads. Our task is to find the CDF of X.X.

Possible outcomes when we toss the fair coin twice are:

Possibilities Head (H), Tail(T)

HH

HT

TH

TT

Let's look into the probability distribution for getting the heads.

x

p(x)

0

p(0) = P(X=0) = P(TT) = 1/4

1

p(1) = P(X=1) = P(HT)+P(HT) = 2/4

2

p(2) = P(X=2) = P(HH) = 1/4

To determine the CDF of XX, we need to find the cumulative probabilities for each value of X.X.

Hence, the CDF of XX is:

Characteristics

Non-decreasing: F(x) is a non-decreasing function. F(x)F(x) increases as xx increases.

Range: F(x)F(x) ranges between 0 and 1.

Limits:

  • CDF approaches 0 as xx approaches negative infinity

  • CDF approaches 1 as xx approaches positive infinity

Applications

The Cumulative Distribution Function (CDF) is widely used in various disciplines, including statistics, finance, economics, and others. Some are listed below:

  • Statistics: In statistics, the CDF is an essential idea. It facilitates data analysis, modeling, and inference by calculating probabilities associated with different values of a random variable.

  • Finance: The CDF estimates the likelihood of various financial events like stock prices exceeding certain thresholds. This information helps investors and financial analysts make informed decisions.

Conclusion

The cumulative distribution function (CDF) is a helpful tool for determining the probabilities of random variables. It determines the probabilities associated with various experiment outcomes.

Free Resources

Copyright ©2024 Educative, Inc. All rights reserved