computing exercise hints

  << back

Chapter18

Exercise 1.
# Label columns L and R.
CODE (1:10) 0 (11:20) 1 ‘L’ ‘R’
PONE ‘R’;
USE Z.

Exercise 2.
# Label columns C11, M; C12, L1; C13, L2; C14, S1; C15, S2; C16, S.
RANDOM 1000 C1-C10;
NORMAL 1000 2.5.
RMEAN C1-C10 ‘M’
LET K1 = (1.96*2.5)/3.16228
LET L1 = ‘M’-K1
LET L2 = ‘M’+K1
CODE (0:1000) 1 (1000.00001:2000) 0 ‘L1’ ‘S1’
CODE (0:999.99999) 0 (1000:2000) 1 ‘L2’ ‘S2’
LET ‘S’ = ‘S1’*’S2’
TALLY ‘S’
# In the tally table, 1 denotes that the interval contains the true mean and 0 that it does not.

Exercise 3.
# Label columns C16, mean; C17, median; C18, max; C19, f(max).
RANDOM 500 C1-C15;
UNIFORM 0 2.
RMEAN C1-C15 ‘mean’
RMEDIAN C1-C15 ‘median’
RMAX C1-C15 ‘max’
LET ‘f(max)’ = 8*’Max’/15

<< back

 

 
Hodder Arnold