For a mean of 20 and standard deviation of 5, find P(X ≤ 17 )
1
Expert's answer
2020-06-01T17:59:41-0400
Typically, a random variable has a discrete or continuous distribution. We shall consider these cases:
Suppose that X has a discrete distribution. This means that X takes real values x1,x2,x3,… (countable set) with probabilities p1,p2,p3,…;∑k=1∞pk=1 . We have the following formulae for the mean and the standard deviation: ∑k=1∞xkpk=20and ∑k=1∞pk(xk−20)2=25 .
P(X≤17)=∑k∈Kpk, where {k∈N∣xk≤17} .
2. Assume that X has a continuous distribution. Then, X has a respective probability
density function p(x) satisfying ∫−∞+∞p(x)dx=1 . We have the following formulae for
the mean and the standard deviation:∫−∞+∞xp(x)dx=20 and
∫−∞+∞p(x)(x−20)2dx=25.
P(X≤17)=∫−∞17p(x)dx. In particular, in case X has a normal distribution with
μ=20,σ=5 we have P(X≤17)=52π1∫−∞17e−21(5x−20)2dx≈0.274.
The latter integral was computed with the help of Anaconda (free distribution of
the Python). The following code was used in Jupyter Notebook (a part of the distribution
for writing and running code) for calculation of the integral:
Comments