MH

Matthijs Hollanders

Matthijs Hollanders has been a guest on 2 podcast episodes in the last 12 months. Latest: Learning Bayesian Statistics, Jun 10, 2026.

Two years on the air

GuestHostMentioned

Guest appearances

Wed10Jun
Learning Bayesian Statistics

Learning Bayesian Statistics

Exact GPs vs Approximations: When to Use Each (and Why It Matters)

Today's clip is from episode 159 featuring Matthijs Hollanders. In this conversation, Alex and Matthijs dig into a deceptively practical question: when you're modeling wildlife across space and time with Gaussian Processes, how do you keep the math from becoming computationally unbearable - and what does good engineering actually look like in the field? Matthijs explains that for most real camera trapping datasets, exact GPs still hold up fine. The reason is less about clever math and more about ecological reality: researchers are usually resource-constrained, so datasets tend to be a few hundred sites, not thousands. And when datasets do get large, they're rarely one giant connected grid - they're clusters of independent regions. That structure is exploitable. Run a separate, smaller GP per region, share the hyperparameters, and you avoid building the massive covariance matrix that makes exact GPs expensive in the first place. But the more interesting thread is where this is heading. Alex introduces Hilbert Space Gaussian Processes (HSGPs) - an approximation that makes compute time nearly linear in dataset size, rather than cubic. The catch, as Matthijs points out, is that approximations aren't always better: if your dataset isn't large enough to be in the regime where the approximation accuracy kicks in, you're better off with the exact GP and its mathematical guarantees. The rule of thumb is simple - if you can use the vanilla GP, just do it. Get the full discussion here Support & Resources → Support the show on Patreon → Bayesian Modeling Course (first 2 lessons free) Our theme music is « Good Bayesian », by Baba Brinkman (feat MC Lars and Mega Ran). Check out his awesome work

4 minPlay in:

Mon8Jun
Learning Bayesian Statistics

Learning Bayesian Statistics

#159 Bayesian Occupancy Models, with Matthijs Hollanders

Support & Resources → Support the show on Patreon → Bayesian Modeling Course (first 2 lessons free) Our theme music is « Good Bayesian », by Baba Brinkman (feat MC Lars and Mega Ran). Check out his awesome work Takeaways: Q: What is a Bayesian occupancy model and what problem does it solve? A: An occupancy model accounts for the fact that you don't always detect a species when surveying for it, especially when the species is rare. A naive count of where you found it underestimates true occupancy. The model adds a repeated-measures component: you visit each site multiple times, and from the pattern of detections vs. non-detections it estimates a detection probability. Matthijs framed it as a zero-inflation structure where the zero-inflation happens at the site level rather than the observation level -- which keeps the model conceptually simple, just a standard GLM with a Bernoulli “is the species here at all?” stacked on top of a detection-rate process. Q: What are Automated Recording Units and why don't traditional occupancy models handle them well? A: ARUs are camera traps and acoustic monitors that record continuously over deployment periods of days, weeks, or months. The data they produce isn't a sequence of discrete human-led surveys; it's a continuous-time observation stream. Traditional occupancy models were designed for the discrete case -- a human visits a site, records yes or no, goes home. With ARUs, the question becomes how to bin or threshold the continuous data without losing the richer signal it actually contains. Q: When should you not reach for occARU? A: When your dataset is large and your survey interval is fine-grained. The bottleneck is Stan's fitting speed -- years of daily count data across many sites will fit slowly. The workaround is to bin coarser (weekly or monthly), which doesn't hurt occupancy estimation at all and only loses some detection-rate resolution. If you're only interested in occupancy, big grouping windows are fine. Full takeaways here Chapters: 00:12:14 What is an occupancy model and what problem does it solve? 00:16:16 What are Automated Recording Units and why do they need different models? 00:18:45 What is the occARU R package and why does it exist? 00:23:55 Why does occARU model counts directly rather than binary detection? 00:26:38 What does multi-species hierarchical modeling with Gaussian processes look like? 00:32:22 How does occARU implement Gaussian processes efficiently? 00:41:01 Why are Gaussian processes such a powerful but tricky modeling tool? 00:44:11 What is variance decomposition with global-local shrinkage priors? 00:49:02 How does occARU leverage recent Stan features for zero-sum constraints? 00:57:37 When does within-chain parallelization actually help? 01:01:30 How does Monte Carlo integration reduce high Pareto-k values? 01:15:27 When does occARU underperform and what's on the roadmap? Thank you to my Patrons for making this episode possible! Links from the show here.

1 h 26 minPlay in: