Notes and walkthroughs. Each entry links to the tutorial page and, when available, the source on GitHub.
This tutorial walks through estimating a hierarchical nearest neighbor Gaussian process (HNNGP) for binary mode choice using Stan via rstan, following Villarraga and Daziano (2025). The example uses the New York City travel-diary data from that paper, comparing transit vs driving, with a spatially correlated latent utility approximated by an NNGP.
This tutorial walks through estimating a hierarchical nearest neighbor Gaussian process (HNNGP) for three-alternative mode choice using Stan via rstan, following Villarraga and Daziano (2025). The example uses the New York City travel-diary data from that paper. The alternatives are car, transit, and non-motorized (walking or bicycling).