Ctrl+k

Calculate standard deviation of a probability distribution

For a finite discrete probability distribution, standard deviation is the square root of the variance, σ=(xμ)2P(x)\sigma=\sqrt{\sum (x-\mu)^2P(x)}, where μ=xP(x)\mu=\sum xP(x); it represents the distribution’s typical distance from its mean and is expressed in the same units as the outcomes. The calculation requires weighting squared deviations by their probabilities and is distinct from average absolute deviation; it excludes continuous-distribution integration and inferential sample-standard-deviation methods.

Detailed Explanation: Calculate standard deviation of a probability distribution

For a finite discrete probability distribution, the standard deviation measures the typical distance of the outcomes from the mean.

Use these steps:

  1. Find the mean:
μ=xP(x)\mu=\sum xP(x)
  1. Find each squared deviation, (xμ)2(x-\mu)^2.
  2. Weight each squared deviation by its probability.
  3. Add the weighted values to find the variance.
  4. Take the square root:
σ=(xμ)2P(x)\sigma=\sqrt{\sum (x-\mu)^2P(x)}

Example

Suppose the random variable XX has this probability distribution:

xxP(x)P(x)
00.10
10.20
20.40
30.30

Step 1: Find the mean

Multiply each outcome by its probability and add:

μ=(0)(0.10)+(1)(0.20)+(2)(0.40)+(3)(0.30)\mu=(0)(0.10)+(1)(0.20)+(2)(0.40)+(3)(0.30) μ=0+0.20+0.80+0.90=1.90\mu=0+0.20+0.80+0.90=1.90

So, the mean is μ=1.90\mu=1.90.

Step 2: Find the weighted squared deviations

xxP(x)P(x)xμx-\mu(xμ)2(x-\mu)^2(xμ)2P(x)(x-\mu)^2P(x)
00.101.90-1.903.610.361
10.200.90-0.900.810.162
20.400.100.010.004
30.301.101.210.363

Add the last column to find the variance:

σ2=0.361+0.162+0.004+0.363=0.890\sigma^2=0.361+0.162+0.004+0.363=0.890

Step 3: Take the square root

σ=0.8900.943\sigma=\sqrt{0.890}\approx 0.943

Therefore, the standard deviation is

σ0.943\boxed{\sigma\approx 0.943}

The standard deviation is expressed in the same units as XX. It describes the typical distance of an outcome from the mean of 1.901.90.

Learn by doing: Calculate standard deviation of a probability distribution

Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill

Practice with unlimited practice problems

Statistics - Standard Deviation - Data Set to Standard Deviation


    ?