Hugh McDougall Astro
banner
hughmcd-astro.bsky.social
Hugh McDougall Astro
@hughmcd-astro.bsky.social
Hi, I’m Hugh! I'm an astronomy PhD student at the University of Queensland. I work in Bayesian stats, JAX + NumPyro, doingreverberation mapping of active galactic nuclei with OzDES

Website: https://hughmcdougall.github.io
ORCiD: 0009-0008-5846-1543
🔭
Importance Sampling (recycling posterior samples) has a reputation as crude brute force, but this underappreciated method can be a surprisingly powerful tool in many practical cases. Find my new article about the importance of importance sampling here: 🔭
hughmcdougall.github.io/blog/03_stat...
August 12, 2025 at 11:55 PM
🔭
"I don't know why so many grad students have imposter syndrome. Where does the fear of failure come from?"

Meanwhile, in the arXiv submission form:
May 30, 2025 at 5:44 AM
You might have heard of the cool chaotic patterns you get from the logistic map, including the islands of stability that appear at certain values of 'r'.

Here's a fun animation of a different recursion relation that bounds the output as we change the itteration gain, wrapped around a polar axis.
May 27, 2025 at 7:19 AM
🔭 You've got two sets of data: can you combine them, or are the in tension? How do you know?

Answer: the Bayesian suspiciousness statistic! This blog (+examples) shows how you can consistently tell if two data sets are in tension with a full Bayes approach!

hughmcdougall.github.io/blog/03_stat...
May 26, 2025 at 4:51 AM
Actual slide from a public outreach talk last week
May 25, 2025 at 8:19 AM
🔭If you work in stats you've probably heard of nested sampling: MCMCs fancy cousin. Enough people have asked me how it works that I've written an article (including examples!) explaining:
1. What NS is
2. Why we need it over MCMC
3. How to know if it's working
hughmcdougall.github.io/blog/03_stat...
May 25, 2025 at 6:47 AM
LITMUS manages this by using JAX's autodiff for a new approach the Bayesian fitting- using the Laplace Approximation (or SVI) to Slice the posterior into Gaussians. This is a new technique for RM, and gives us all the good Bayesian stuff while fitting lags in a fraction of the time of older tools
May 16, 2025 at 10:12 AM
LITMUS offers AGN scientists a suite of new stats tools to sort the signal from the noise, including the established Gaussian Process model for AGN _and_ a flexible framework that lets you write your own more advanced physics model if you need!
May 16, 2025 at 10:12 AM
If you've never heard of RM before - it's a trick where we use time series data to infer the geometry of Quasars. Like the gap in lighting and thunder telling us how far away a storm is, we can listen for the way light "echoes" around the AGN as a ruler to map their size.
May 16, 2025 at 10:12 AM
Not only does it massively improve on earlier MCMC based RM tools tendency to over-report half yearly lags (180 days, 540 days etc), it also, for the first time in RM, offers Bayesian model evidences for proper model comparison! Check out the docs example at hughmcdougall.github.io/litmus/examp...
May 16, 2025 at 10:12 AM
LITMUS is a new tool purpose built to solve the “aliasing” problem that has plagued reverberation mapping in high redshift surveys like OzDES and SDSS – using a new approach to the Bayesian fitting to properly handle the window function and to principled false positive rejection!
May 16, 2025 at 10:12 AM
Extremely excited to announce the first paper / project of my PhD: LITMUS – a new Bayesian framework for reverberation mapping lag recovery! The paper is on arXiv at arxiv.org/abs/2505.09832, or you can find the code at hughmcdougall.github.io/litmus/ and the docs at hughmcdougall.github.io/litmus/
May 16, 2025 at 10:12 AM