Discrete Random Variable Distribution Experiment
Mathematical visualization of Probability Mass Function (PMF) and Cumulative Distribution Function (CDF)
Theoretical Definitions
Discrete Random Variable
Let $$X$$ be a discrete random variable defined on the sample space $$\Omega$$, with possible values $$x_1, x_2, \ldots, x_k, \ldots$$.
1. Probability Mass Function (PMF)
PMF is defined as the probability that a random variable takes a specific value:
Properties: $$f_X(k) \ge 0$$ and $$\sum_{k} f_X(k) = 1$$
2. Cumulative Distribution Function (CDF)
CDF is defined as the probability that a random variable is less than or equal to a certain value:
For discrete variables, CDF is a right-continuous step function satisfying $$0 \le F_X(x) \le 1$$
CDF and Integration Relationship
Although discrete distributions do not use traditional integration, CDF can be viewed as the cumulative sum of PMF:
For continuous distributions, CDF is the integral of PDF: $$F_X(x) = \int_{-\infty}^{x} f_X(t) dt$$
Binomial Distribution Model
In $$n$$ independent Bernoulli trials, the number of successes $$X$$ follows a binomial distribution $$X \sim \text{Binomial}(n, p)$$:
Expected Value: $$E[X] = np$$
Variance: $$\text{Var}(X) = np(1-p)$$
Probability Mass Function (PMF)
Probability that the discrete random variable takes each possible value
Cumulative Distribution Function (CDF)
Cumulative probability that the random variable is less than or equal to a certain value
Experiment Instructions
Parameter Adjustment
Adjust the number of trials $$n$$ and success probability $$p$$ to observe distribution changes.
Chart Interaction
Hover over to view exact values and observe the relationship between PMF and CDF.
Mathematical Understanding
The height of each step in CDF equals the PMF value at that point, understanding the cumulative nature of discrete distributions.