There are a couple of approaches to this problem - you can use R or you can translate from the standard normal.
Solution 1 (using R)
As we learned in our lab the other day, the qnorm
command can be used to compute quantiles. For example, qnorm(0)
should return 0.5, since
50\%
of the area under the standard normal curve is to the left of zero and
50\%
is to the right of zero. If we’d like to compute the interquartile range for the standard normal distribution, we could do:
qnorm(0.75)-qnorm(0.25)
# Out: 1.34898
To find the IQR for the given distribution, we could simply specify the mean and standard deviation that we need for the problem:
qnorm(0.75, 195, 26)-qnorm(0.25, 195, 26)
# Out: 35.07347
It’s worth pointing out that there are other formulae that work for these computations and that they’re generally pretty easy to find, if you understand the symmetry of the normal distribution. For example, since the standard normal is symmetric about the origin, should find that
qnorm(0.75) == -qnorm(0.25)
So that another way to do that first computation is as 2*qnorm(0.75)
. This symmetry is illustrated in the following picture:
Solution 2 (using tables)
An alternative approach starts from the fact that the IQR for the standard normal distribution is
1.35
. Thus, the IQR for an alternative normal distribution with a standard deviation of
s
is simply
1.35s
. For my problem, where the standard deviation was
26
, the IQR should be
1.35 \times 26 = 35.1,
in agreement with the R computation.
Of course, for this to work, you’ve got to know that the IQR of the standard normal is
1.35
and, in fact, it’s a good idea to know the standard normal well because it translates so easily to other normal distributions. If you don’t know this fact, though, you can look it in a standard table; the relevant values are shown in the table below.