How to find the mean median standard deviation of a discrete random variable
ScanSolve AI Answer
Step-by-step solution
9 stepsTo find the mean, median, and standard deviation of a discrete random variable, you typically need its probability distribution, which lists each possible value of the variable and its corresponding probability.
1. Mean (Expected Value)
The mean, also known as the expected value , is the weighted average of all possible values of the random variable, where the weights are their probabilities.
List all possible values of the random variable (denoted as ) and their corresponding probabilities .
Multiply each value by its probability .
Sum these products.
The formula for the mean is:
2. Median
The median of a discrete random variable is the smallest value such that the cumulative probability is greater than or equal to 0.5.
List all possible values of in ascending order.
Calculate the cumulative probability for each value, .
Identify the smallest value for which .
This is the median.
3. Standard Deviation
The standard deviation measures the spread or dispersion of the values around the mean. It is the square root of the variance.
Calculate the mean (as described above).
Calculate the variance .
There are two common formulas: * Using the definition: For each value , subtract the mean , square the result, and multiply by its probability . Sum these values. * Using the computational formula (often easier): First, calculate . This means squaring each , multiplying by its probability, and summing. Then, subtract the square of the mean .
Take the square root of the variance to find the standard deviation.
Still stuck on this one?
Ask a follow-up, and the answer starts from this question.
More Computer Science Questions

Handwritten Step-by-Step Solution
Get this as a handwritten image on WhatsApp — like a tutor wrote it for you.
Try on WhatsApp