Mixture & Zero-Inflated Models
Handle overdispersion and excess zeros with Poisson/NB mixtures and hurdle models.
Deepen your Bayesian toolkit with mixture models, ranking models, advanced hierarchical structures, survival & time-series models, splines/GPs, HSGP, and performance tuning. Learn production-ready patterns in R + Stan (cmdstanr) guided by Dr. Scott Spencer (Columbia University).
Practical, advanced Bayesian modeling you can ship: richer likelihoods, stronger diagnostics, faster sampling, and patterns that scale to real production projects.
Handle overdispersion and excess zeros with Poisson/NB mixtures and hurdle models.
Pairwise, Plackett–Luce, and ordinal regression—code and compare in Stan.
Build partial-pooling structures that propagate uncertainty correctly.
AR processes (irregular gaps) and Weibull survival—simulate, fit, interpret.
B-splines, tensor products, and Gaussian Processes for flexible, explainable fits.
QR reparameterization, parallelization, and GPU/chain optimizations.
From sailing to golf: see how geometry and physics sharpen our likelihoods and make posteriors more interpretable. This preview is pulled from Becoming a BayeZian II.
Bridging domain physics with Bayesian likelihoods (what actually goes into p(y|θ)?).
Working with grouped/binomial data via sufficient statistics without losing information.
Writing clean, stable Stan that samples fast and stays numerically sane.
Explaining parameters stakeholders understand (e.g., a golfer’s precision, σ
).
Designing PPCs that actually validate model assumptions.
Binomial model for made/attempts with a physics-informed success probability:
P(x) = 2·Φ(asin((R − r)/x) / σ) − 1
, where σ
encodes directional variability.
golf_angle.stan
, bayes2_code_notes.r
• Load data (x, n, y
; radii r, R
) and run the Stan model.
// golf_angle.stan
data {
int J; // number of observed distances
vector[J] x; // distances (ft)
array[J] int n; // attempts
array[J] int y; // successes
real r; // radius ball
real R; // radius hole
}
transformed data {
vector[J] angle_rad = asin( (R - r) ./ x );
}
parameters {
real<lower=0> sigma_rad;
}
model {
// prior
sigma_rad ~ std_normal();
// likelihood
vector[J] p = 2 * Phi( angle_rad / sigma_rad ) - 1;
y ~ binomial(n, p);
}
data_list <- list(
J = length(x),
x = x,
n = n_attempts,
y = y_made,
r = ball_radius,
R = hole_radius
)
mod <- cmdstanr::cmdstan_model("golf_angle.stan")
fit <- mod$sample(data = data_list)
posterior::summarise_draws(fit$draws(c("sigma_rad")))
σ
is directly interpretable as golfer precision (radians).Push beyond foundations into production-ready Bayesian modeling: mixtures and zero-inflation, ranking, advanced hierarchical structure, time-series & survival, splines & Gaussian Processes, physics-constrained models, and performance engineering for Stan.
MY PASSION LIES IN LEVERAGING DATA FOR GOOD CAUSES AND EXPLORING THE INTRICATE DYNAMICS OF PROFESSIONAL SPORTS THROUGH STATISTICAL MODELING.
Dive into the world of Bayesian analysis and cutting-edge probabilistic programming alongside a Columbia Professor and Stan language collaborator with expertise in crafting intricate generative models. Scott's expertise spans from decoding human behavior to forecasting sea-level rise impacts on coastal property values, all while dissecting the statistical DNA of professional sports.
Scott's influence extends beyond academia, shaping decisions for tech giants like Amazon, healthcare leaders such as Johnson & Johnson, and entertainment moguls like Vevo. His knack for transparent storytelling through R packages ensures that even the most complex insights are accessible and actionable, making him a sought-after guide for data enthusiasts across industries.
Join the BayeZian revolution and unlock the true potential of Bayesian methods with Scott, where every analysis tells a compelling story and uncertainty is the key to innovation!
At AthlyticZ, we design for flexibility and impact—mixing clear instruction, continuous assessment, and applied projects so you can learn at your pace and show real results.
Learn on your schedule with concise, high-quality videos you can pause, replay, and revisit anytime.
Reinforce concepts with practical exercises that build intuition and confidence in real workflows.
Low-friction quizzes and checkpoints give you immediate feedback and keep you on track.
Tackle real analytics problems—from quick wins to capstones—so you graduate with portfolio-ready work.
Get curated readings, slides, and short references to deepen understanding and speed up execution.
Use lesson-embedded notes, preloaded IDEs, and live widgets for an engaging, hands-on experience.
AthlyticZ has completely transformed the learning approach to data science through the use of sports-based problems. The course structure is intuitive, the content is comprehensive, the instructors are the best of the best, and the practical projects have immediate impact to students.
Built for teams using Stan in production. Practical skills, employer-ready outcomes, and a workflow you can standardize across projects.
Two pathways keep learners successful:
If you’re experienced in R and basic Stan, you can jump straight into Part II.
© 2025 AthlyticZ
Designed With ❤️ By Jackson Yew
Privacy Policy · Terms of Use · Terms of Sale · Email questions to : [email protected]