Let X be a random variable following a Normal (Gaussian) distribution. All Normal distributions have two parameters: mean and standard deviation (or variance). For this X, let μ = 13 and σ = 2.3. An example of where such a distribution may arise is the following:
You have a bag of candy made by Statistics, Inc. The weight of the pieces are not all the same, they are a random variable. This variable follows a Normal distribution with average weight 13 grams and standard deviation 2.3. Define the random variable X as the weight of a randomly selected peice of candy.
For those who like pictures, here is a graphic of the probability density function. It is not a probability, it is a density, a likelihood. It can be used to determine which values are more likely than others. From the graphic, we can tell that weights are more likely around 13 than around 8.4 or 16.45.
…
…
Continuing the candy example, let us calculate the probability density for a weight of 13.9844 grams; that is, calculate f(13.9844).
Your Answer
In the box below, please enter the value of f(13.9844), where X ~ Normal(μ=13; σ=2.3), then click on the “Check your answer!” button. Please round your answer to the ten-thousandths place.
You got the correct answer of f(13.9844) = 0.1583. Congratulations!
Unfortunately, your answer was not correct. Either try again or click on “Show Solution” below to see how to obtain the correct answer.
Thus, the probability density of the next piece of candy weighing 13.9844 grams is approximately 0.1583.
By itself, this value has almost no meaning. However, because f(13) = 0.1735 > 0.1583 = f(13.9844), we know it is more likely that the piece of candy will weigh closer to 13 than to 13.9844.
As a side question, which weight is most likely? That’s right, the modal value, 13. By the way, because the Normal distribution is symmetric and unimodal, the mode is the same as the median and the mean. Look at the graphic above to convince yourself of this.
Show the R Code
Hide the R Code
Copy and paste the following code into your R script window, then run it from there.
dnorm(13.9844, m=13, s=2.3)
In the R output, the number given after running the final line above is the probability density requested, f(13.9844). There are three slots in the function. The first is x; the second, μ; the third, σ.
Show the Excel Formula
Hide the Excel Formula
Copy and paste the following code into an Excel cell, then hit enter.
=NORM.DIST(13.9844,13,2.3,FALSE)
The first slot is the value of x. The second slot is the value of μ. The third slot is the value of σ. The last slot is FALSE for calculating f(x) and TRUE for calculating F(x), P[X ≤ x].