<<
back
Chapter 4
Exercise 1.
# Similar to Chapter 3 (1).
Exercise 2.
# Label columns ‘Sex’ and ‘Salary’.
DESCRIBE ‘Salary’;
BY ‘Sex’.
HISTOGRAM ‘Salary’;
AREA;
SEPARATE ‘Sex’.
Exercise 3.
# Label C12, X and C13, M.
SAMPLE 100 X C1;
REPLACE.
# Repeat putting further samples into C2-C10.
RMEANS C1-C10 M
# The repetition is tedious. Better to use a macro.
Use the word processor and type:
GMACRO
PICKSAMPLE
DO K1=1:10
SAMPLE 100 X CK1;
REPLACE.
ENDDO
ENDMACRO
# Name file, say, PICKSAMPLE.TXT. Save in text-only form in the Macro
folder within the main Minitab directory. The session command which calls
the macro
%PICKSAMPLE
will generate the samples.
<< back
|