Stan with Stata, Part V: Kicking a marble around in a bucket

In the last few postings I have described how the Bayesian analysis program, Stan, can be called from within Stata. Before we can go any further we have to understand how Stan works, which is to say we need to understand the basics of Hamiltonian Monte Carlo, as this is Stan’s way of sampling from the posterior. I’ll start … Continue reading Stan with Stata, Part V: Kicking a marble around in a bucket