stddiag function

data from Exercise 5.6, p146