| > | restart: read `C:\\Tanis-Hogg\\Maple Examples\\stat.m`: with(plots): read `C:\\Tanis-Hogg\\Maple Examples\\HistogramFill.txt`: |
Elliot Tanis
June 12, 2006
Example 3.1-5 (Example_3_1-5.mws)
| > | read `C:\\Tanis-Hogg\\Maple Examples\\Chapter_03.txt`: |
| > | X := Example_3_1_5; |
| > | Min(X), Max(X); |
| > | StemLeaf(X,1); #The 1 specifies 1-digit leaves |
Stem Leaf
3 | 4 8
4 | 2 2 5 7
5 | 1 2 4 7 8 8 9
6 | 0 1 3 5 5 6 7 8 9 9
7 | 0 1 1 2 3 3 4 5 5 6 6 7 9
8 | 1 1 2 3 3 4 4 5 7
9 | 0 1 3 3 7NULL
For some unknown reason, the word NULL appears at the end of the Stem-and-Leaf diagram. Just ignore it.
| > | StemLeaf(X,1,14); #The 14 specifies the number of rows. |
Stem Leaf
3* | 4
3+ | 8
4* | 2 2
4+ | 5 7
5* | 1 2 4
5+ | 7 8 8 9
6* | 0 1 3
6+ | 5 5 6 7 8 9 9
7* | 0 1 1 2 3 3 4
7+ | 5 5 6 6 7 9
8* | 1 1 2 3 3 4 4
8+ | 5 7
9* | 0 1 3 3
9+ | 7NULL
Here is the five-number summary of the data.
| > | Min(X), Percentile(X, 1/4), Percentile(X, 1/2), Percentile(X, 3/4), Max(X); |
| > | BoxPlot(X); |
Figure 3.1-3: Box plot of scores from 50 statistics examinations
| > |