Code for  Decision Theory for Statistical Problems
                (N.T. Longford)  SpringerBrief 2012


CHAPTER 8  

Chap8.an1  --  Illustration of the ranges of $\hDelta$ which result in an impasse
Figure 8.1, page 106  (Scenarios A and B)
Function  Ch8an1

Chap8.an2  --  Finding z-star  for sample size calculation (design)
Functions Ch8zst (all three kernels), Ch8exl
Results lists Ch8zstR and Ch8exlR 

Chap8.an3  --  Evaluation of the probability of impasse and the expected loss
Function Ch8ssz 
Results vector Ch8sszR (single application); 
Ch8sszT  -- Table 8.1, page 107  (sample size calculation)
Ch8sszT  -- a table with an alternative setting

Chap8.an4  --  More detailed exploration following Chap8.an3
Result lists Ch8sszU, Ch8sszU2  (setting vector n1t)

Chap8.an5  --  Narrower range of plausible values of $\delta$
Results list Ch8sszV, Ch8sszV2 (settings vector n1t)

Chap8.an6  --  Graphics for comparing wide and narrow range of plausible priors
Using the results lists Ch8sszU, Ch8sszV, Ch8sszU2
Figure 8.2, page 109
Function Ch8grc, results matrix Ch8grcR

Chap8.an7  --  Simulation with dropout
Auxiliary function Table (reformatting)
Principal function  Ch8drp;  results lists Ch8drpS, Ch8drpT 
Settings vector Ch8dlts (deltas)

Chap8.an8  --  Graphics for the results from  Chap8.an7 
Figure 8.3, page 110;  probabilities of decision and impasse
Function  Ch8grad 

