9.9 Exercises on Chapter 9

1. Find the value of  by crude Monte Carlo integration using a sample size of n=10 values from a uniform distribution U(0, 1) taken from tables of random numbers [use, e.g. groups of random digits from Lindley and Scott (1995, Table 27) or Neave (1978, Table 8.1)]. Repeat the experiment ten times and compute the overall mean and the sample standard deviation of the values you obtain. What is the theoretical value of the population standard deviation and how does the value you obtained compare with it?
2. Suppose that, in a Markov chain with just two states, the probabilities of going from state i to state j in one time unit are given by the entries of the matrix Unnumbered Display Equation in which i represents the row and j the column. Show that the probability of getting from state i to state j in t time units is given by the tth power of the matrix  and that Unnumbered Display Equation Deduce that, irrespective of the state the chain started in, after a long time it will be in the first state with probability and in the second state with probabi-lity .
3. Smith (1969, Section 21.10) quotes an example on genetic ...

Get Bayesian Statistics: An Introduction, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.