computing exercise hints

 

<< back

Chapter 1

Exercise 1.
a)  # Label column W
     SET W
     72 58 …
     … 96 52
      END
     HISTOGRAM W
     STEM-AND-LEAF W
c) CHART X
d) # Although number of words is discrete, a histogram gives a better impression than a bar      chart.

Exercise 2.
# Label columns M and F
READ M F
72 68
58 63

61 54
END
HISTOGRAM M F;
OVERLAY.

Exercise 3.
# Label column ‘Length’
# Produce a histogram with class-interval 0.1.
HISTOGRAM ‘Length’;
CUTPOINTS 19.45:25.45/0.1;
TITLE “Interval 0.1”.
# Repeat using class-intervals 0.3, 0.5, 0.7, 0.9.
# Choose Editor>Layout Tool to put histograms side-by-side.

Exercise 4.
# To produce a histogram with K intervals, use the subcommand
NINTERVAL K
# Choose a number of values of K including the square root of n.

<< back


 
Hodder Arnold