HOBBS tutorial
This tutorial follows the programming model developed in the HOBBS paper, but uses the current package syntax where the interface has evolved.
A HOBBS program has four main layers:
- Declare the state with
paramanddparam. - Write reusable posterior calculations with
func. - Define a local target for each coordinate with
block. - Maintain expensive deterministic quantities with
cacheandupdatewhen recomputing them would be wasteful.
The current package also lets each continuous parameter declaration choose sampler=rwmh or sampler=slice.
Suggested path
Model anatomy → Parameters → Functions → Sampling blocks → Caches → Samplers → Syntax rules → Options & output