STAT 112: Introduction to Probability Distributions 2 - Cumulative Distribution Functions and Moments
Cumulative Distribution Function Definition and Properties
The cumulative distribution function, frequently referred to as the distribution function and abbreviated as CDF, represents the probability that a random variable takes on a value less than or equal to a specific real number . Mathematically, it is defined as , where is any real number within the range .
The distribution function is characterized by several fundamental properties that dictate its behavior across the real number line. First, it is a nondecreasing function, meaning that for any two values where , the corresponding function values must satisfy . Second, the limits of the function at the extremes are fixed: the limit as approaches negative infinity is zero (), and the limit as approaches positive infinity is one (). Finally, is continuous from the right. This is expressed as for all values of .
Distribution Functions for Discrete Random Variables
For a discrete random variable , the cumulative distribution function is obtained by summing the probabilities of all outcomes up to and including the value . This is expressed as , where the summation encompasses all values that can take such that . If the random variable assumes a finite set of values , the CDF follows a piecewise defined structure:
Characteristics and Examples of Discrete Distribution Functions
Example 1 illustrates these principles through a random variable representing the number of tails observed when tossing two fair coins. The probability mass function (PMF) is given as , , and . The resulting distribution function is defined as:
Observations regarding discrete CDFs reveal specific attributes. The graph of such a function is known as a staircase or step function. The magnitude of the "jumps" occurring at specific points (e.g., at ) corresponds exactly to the probabilities of those outcomes ( respectively). This allows one to derive the probability function directly from the distribution function. Furthermore, the function is monotonically increasing, moving from left to right while taking values between and . The right-continuity is observed as the value of the function at an integer point is taken from the higher step; for instance, the value at is rather than .
Continuous Distribution Functions and Probability Density
A nondiscrete random variable is considered absolutely continuous, or simply continuous, if its distribution function can be represented as the integral of a probability density function (pdf) . Specifically, . For a function to serve as a valid density function, it must satisfy two conditions: for all values of , and the total area under the curve must equal one, calculated as .
In the continuous case, the probability that takes on any specific point value is zero. However, the probability that the random variable falls within a given interval between and is defined by the definite integral of the density function over that interval: .
Mathematical Operations and Relationship between PDF and CDF
The fundamental relationship between the probability density function (pdf) and the cumulative distribution function (cdf) is rooted in calculus. The CDF is found by integrating the pdf: . Conversely, by the Fundamental Theorem of Calculus, the pdf is the derivative of the cdf: .
Example 2 demonstrates the calculation of constants and probabilities. Given for and otherwise, the constant is found by solving . Integrating yields , resulting in . Using this density function, the probability is calculated as .
Another example involves a person waiting for an elevator for a maximum of minutes, with a pdf defined piecewise: for , and for . The resulting CDF is derived by integrating over each interval:
Probability Computation Scenarios
Computation of constants in probability mass functions (pmf) is essential. For instance, given for , the constant is determined by the requirement that the sum of probabilities equals one. Since , it follows that , hence . In this distribution, and .
In a real-world application involving electronic components, the failure time (in hours) follows the density function for . To find the probability a component lasts more than hours, we calculate . The probability of failure between and hours is . The probability of failure before hours is .
Mathematical Expectation
Mathematical expectation, also known as the expected value or mean, is a central concept representing the average value of a random variable over many repetitions. For a discrete random variable with values , it is defined as . In the specific case where all probabilities are equal to , the expectation simplifies to the arithmetic mean: . If the variable has infinite values, the series must converge absolutely for the expectation to exist.
For continuous random variables, the expectation is defined via integration as , provided absolute convergence is met. The expectation is denoted by or and acts as a measure of central tendency.
Example 3 describes a die game where a player wins for a , for a , and loses for a , with no gain/loss for other faces. The expected sum is calculated as . For a continuous density on , the expectation is .
Properties of Expectation
Mathematical expectation follows several algebraic rules. If is a constant, then . If is also a constant, then . Linearity holds for any two random variables, such that . Furthermore, if and are independent random variables, the expectation of their product equals the product of their expectations: .
Variance and Standard Deviation
Variance measures the dispersion or "scatter" of random variable values around the mean . It is defined as a non-negative number . The standard deviation, denoted by or , is the positive square root of the variance: . If values cluster near the mean, the variance is small; if they are widely distributed, the variance is large.
For a discrete variable, . If the probabilities are equal, this becomes the standard variance formula for a set of numbers. For continuous variables with density , variance is calculated as , provided the integral converges.
In Example 5, using the density for with a previously calculated mean , the variance is computed: . The standard deviation is .
Theorems of Variance
There are four key theorems governing variance operations. Theorem 1 provides an alternative calculation method: . Theorem 2 states that for constants and , . Theorem 3 defines properties for independent variables: and . Theorem 4 addresses non-independent variables by incorporating covariance: .
Solved Practical Applications
In a lottery scenario with tickets, prizes include at , at , and at . The probabilities for various winnings are , , , and . The expected value is . Thus, the fair price for a ticket is .
When tossing a pair of fair dice to find the expectation of the sum of points, let and represent the points on each die. Since , the total expectation is .
Finally, for a continuous variable with on , we use the special gamma function formula to compute moments. Here, . Similarly, . The variance is then .