Probability Mass Function (PMF) Calculator
Visualize and calculate the PMF for discrete random variables. Enter values and probabilities to get started!
Input Values & Probabilities
Enter comma-separated values for the random variable and their corresponding probabilities.
PMF Table
| Value | Probability |
|---|---|
PMF Chart
Understanding Probability Mass Function (PMF)
The Probability Mass Function (PMF) is used to describe the probability distribution of a discrete random variable. It tells us the probability that a random variable will take on a specific value. For each possible value of the random variable, the PMF gives the probability of that value occurring.
Key points about PMF:
- It applies to discrete random variables (variables that can only take on a countable number of values).
- The sum of probabilities for all possible values of a random variable must equal 1.
- Each probability value from the PMF is between 0 and 1, inclusive.
How to use this calculator:
- Enter the possible values of the discrete random variable, separated by commas.
- Enter the corresponding probabilities for each value, also separated by commas, in the same order as the values.
- Click the "Calculate PMF" button to generate the PMF table and chart.
- Use the "Reset" button to clear the inputs and results.
- Click "Copy Table" to copy the PMF table data to your clipboard.