chapter_03

Chapter 03. Sampling The Imaginary

this chapter teaches the basic skills for working with samples from the posterior distribution 3.1 Sampling from a grid-approximate posterior the following code generates a posterior distribution using grid approximation using the globe-tossing model from the previous chapter p_grid <- seq(from = 0, to = 1, length.