O'Reilly logo

Bayesian Statistics: An Introduction, 4th Edition by Peter M. Lee

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required