Frequency-Magnitude Relationship for the Coldwater River

A flood frequency assessment I partook in with BGC Engineering, for a mixed regime river under climate change.

Interpreting Regression

An in-progress book on data-driven problem solving from a probabilistic lens. A modern take to statistics. Title may change.

STAT 545 @ UBC

An open-access course on data wrangling, exploration, and analysis using the modern R landscape with git.

YouTube Channel

Short videos promoting a clean and modern data analysis. Pairs with STAT 545.


Draw powerful multivariate insights using copulas. R package. Coming soon!


R package to create and evaluate univariate probability distributions.


R package to manipulate univariate probability distributions.


Tools for accessing the IG and IGL family of copulas. R package.


Build predictive distributions using linear quantile regression. R package.


This is an updated version of the original post from February 22, 2017. This tutorial introduces contour plots, and how to plot them in …

Some best practices for communicate data through visuals. Inspired by Claus Wilke’s “Fundamentals of Data …

JAGS is a language that allows you to run Bayesian analyses. It gets at the posterior by generating samples based on the posterior and …

You all know the drill – you’re asked to make predictions of a continuous variable, so you turn to your favourite …

Generalized Additive Models To fit a GAM in R, we could use: the function gam in the mgcv package, or the function gam in the gam …

License: CC BY 4.0