To demonstrate these steps we need to start with some data. We will use the GNRND4 program to generate that data. One option for that program asks it to generate data that is approximately normal. As we will see below, given the KEY values that we use, the program generates the data set:
62 | 47 | 49 | 47 | 61 | 62 |
![]() | We start with the run of the GNRND4 program, giving it the appropriate KEY values. |
![]() |
Figure 2 gives a view of the start and of the end of the list of generated va;ues. We see that we have exactly the desired values now stored in L1. |
![]() |
There are four steps to creating "by hand" a normal quantile plot. The first step is
to sort the values. We use the ![]() ![]() ![]() |
![]() |
Here, on the main screen, we complete the command via
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() |
The second step in the process is to form a parallel list with ascending values equally
spaced and all within the open interval from 0 to 1. To do this
for a list of n values, we use the fractions of the form p/q where q=2*n and
p is an odd number from 1 to 2*n-1. In our case, we want to create a lies of
6 such values, namely, 1/12, 3/12, 5/12, 7/12, 9/12, and 11/12.
We could move to the Stat Editor and enter these values by hand. Alternatively,
we can use the built-in function seq( to create such a list. In Figure 5
we used |
![]() |
Now we need to complete the command.
The seq( command has four arguments. The first is an expression to
evaluate to produce a typical item in the list. The second is the base variable
whose values will change to produce different items in the list. The third is the starting value
that is to be used. The fourth is the final value to be used. For our case,
we want to let a variable, X, take on values from 1
to 6, and each such value we want to calculate (2*X-1)/12.
Thus the desired command is |
![]() |
Of course, the keystrokes to finish the command on the calculator are
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() |
Figure 8 shows the start of the list of values that we have generated. |
![]() |
Use ![]() ![]() |
![]() |
Now we can see the values that have been placed into L2.
We use the ![]() The third step in generating the normal quantile plot is to produce another parallel list of values, this time finding the appropriate z-score that has the area under the normal curve to the left of that z-score equal to the corresponding value in L2. Thus, the value in L2(1) is 1/12 so we want the corresponding value in L3 to be the z-score that has an area equal to 1/12 under the normal curve and to the left of that point. From the home screen we would find this via the command invNorm(1/12). We do the same in the editor. As shown in Figure 10 we are ready to enter the first item in
L3. Press |
![]() |
Now we use the ![]() |
![]() |
From Figure 11 we press
![]() |
![]() |
Now, we need to complete the command. In truth, we could just enter the required
value 1/12, but we will take the slightly longer, but more general,
approach of using the value in L2(1). To do this
we complete the command via
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() |
In Figure 14 we see that the appropriate value has been entered as the first item in L3. Furthermore, the calculator is now ready for us to enter a value for L3(2). |
![]() |
For Figure 15 we have repeated the process to generate
invNorm(L2(2)) at the bottom of the screen.
Again we use
![]() |
![]() |
Here we see the new value added to L3. |
![]() |
Figure 17 shows the result of completing this process for the remaining
values in L3. At this point we are done creating
the parallel lists that we desired. Press ![]() ![]() |
![]() |
Having accomplished the first three steps in the process:
![]() ![]() |
![]() |
For the calculator being used here we see that all of the plots are Off.
At the moment the highlight is on the first plot, the one we will use here.
Therefore, we press ![]() |
![]() |
Figure 20 was captured without changing anything on the screen. The blinking
cursor is sitting over the On option (in fact it is covering that option
in this screen capture) but we see that the Off option is the highlighted one,
corresponding to the fact that, at the moment, Plot1 is Off.
To set Plot1 to the On status, we just press the
|
![]() |
Now, not only is the setting changed to On but also the blinking cursor is
still on that option.
We now turn our attention to the Type of plot. At the moment, in Figure 21,
the plot is set to the histogram option, |
![]() |
Figure 22 was captured once the change has been made, although the
blinking cursor is still on that choice and is obscuring it at the moment.
Looking at the reest of the settings we see that they have changed from what they
were back in Figures 20 and 21. The value of Xlist is correctly set as
L1 but, for this calculator, the value of
Ylist needs to be changed to L3. To do this
we
use the |
![]() |
Note that the change to the Ylist field has been made. We will
take one extra step just to be sure that the values are set, namely we will use the
![]() |
![]() |
Now that the values have been set all that we need to do is to use the
keys ![]() ![]() |
![]() |
We have gone through all of this to produce this graph. A true normal distribution should produce the set of points in approximately a diagonal straight line from the lower left to the upper right corner. The plot in Figure 25 does not conform to that. We would have to conclude that the original data was not really a Normal distribution. [On the other hand, the data set is really small. Taking such a small sample will often lead to such non-conforming plots.] |
The data that we used above came from the GNRND4 program when we specifically asked that program to generate data that is approximately normally distributed. Given what we found one might think that there is an error in the program. However, as just noted, having a small sample of data often leads to conclusions of non-normality. Let us use the program to generate a larger sample to see what happens in that case. We will generate a list of data on the calculator using GNRND4 with Key 1=357843504 and Key 2=700053. That list will be the same numbers that appear in the following table: Thus, our problem will be to generate a normal quantile plot for the data in the list above.
![]() |
First we generate the data. |
![]() |
The values in Figure 27 correspond to the values that we saw in the table above. These values
are stored in L1. We could go through the four step process shown above to sort the data, then generate the parallel lists and then produce the scatter plot. However, the third step of that process, finding the invNorm( value of each of the 36 evenly spaced values between 0 and 1 that we would generated in the second step looks daunting at best. This looks like too much work. There must be an easier way! In fact we will see two easier ways. |
![]() |
Remember that L1 holds our values. The calculator has a special
plot option that automatically does the normal quantile plot without our doing any of the work.
We return to the General Plot menu via
![]() ![]() ![]() |
![]() |
In Figure 29 we have moved the cursor to the last of the
Type options and selected it. Note that the
![]() ![]() ![]() You might notice that it takes the calculator a bit of time to do all of the computations that it needs to generate the requested normal quantile plot shown in Figure 30. |
![]() |
Here is the desired plot. In this case we can see that the points do line up
in an approximate diagonal. Therefore, this plot supports the conclusion that
the original data points, our L1 values,
are normally distributed. Because the calculator generates this plot without our doing any of the work shown in Figures 5 through 25, it would seem that we have no benefit from doing that work ourselves. However, note that the calculator did the work but that it does not directly supply the values in the two parallel lists, nor does it give us the sorted values of the original data. It is possible that we may need these values. |
![]() |
We could extract the sorted values and their associated invNorm( values from the
plot. We move into TRACE mode via the ![]() |
![]() |
We can use the ![]() |
![]() |
Back in the explanation tied to Figure 33 we noted that there would be two
easier ways to generate our normal quantile plot. The first was to use
the built-in Plot Type ![]()
We leave Figure 32 via the
|
![]() |
The program asks for the location of the original data.
We respond with ![]() ![]() ![]() |
![]() |
The program does all of the computations that we had done in our original process, along with finding the linear regression equations for the original data points and their associated invNorm( values. It then displays both the scatter plot and the regression equation. Having the graph of the regression equation makes it even easier to get a feeling for the linearity of the plotted points in the scatter graph. |
![]() |
Just as before, we could move into TRACE mode, via the ![]() |
![]() |
However, we could just get out of the plot, via ![]() ![]() ![]() ![]()
|
©Roger M. Palay
Saline, MI 48176
March, 2013