April 28, 2020

Everything you might have been afraid to ask about implementing models with discrete parameters in Stan. Written for ecologists that know BUGS, JAGS, or NIMBLE, and want to use Stan. Provides an example by marginalizing over partly observed presence/absence states in a simple occupancy model.

Jan. 23, 2020

A high-level overview, an example, and a call to action.

Dec. 30, 2018

Migrating from Jekyll to distill, with some reflections on the past 6 years.

Aug. 14, 2016

Gaussian processes that scale to larger data.

April 25, 2016

In-class activities to teach design matrices from multiple perspectives.

Sept. 8, 2015

10 books I wish I had entering graduate school.

Aug. 28, 2015

A series of introductory R videos.

June 15, 2015

How to visualize spatial neighbors using ggplot2, spdep, and sf.

Feb. 26, 2015

TLDR: scripting plots is more reproducible and efficient long term

Dec. 13, 2014

Partial pooling and the best NBA free throw shooters of all time.

Nov. 14, 2014

Dynamic multi-year occupancy models, marginalizing over latent occurrence states.

Nov. 8, 2014

Computing the proportion of land cover types using R and the raster package.

June 19, 2014

A guest post by Joe Mihaljevic.

April 3, 2014

Exploring how correlation among covariates inflates uncertainty in coefficient estmates.

March 22, 2014

Using spike and slab priors to shrink coefficients toward zero.

Feb. 6, 2014

Fitting a Bayesian ZOIB regression model in JAGS.

Nov. 27, 2013

Fitting a Bayesian regression with covariate uncertainty.

Oct. 30, 2013

A short description of the post.

Sept. 8, 2013

A homemade Metropolis algorithm animation using R and the animation package.

Aug. 22, 2013

How to propage posterior uncertainty to R-squared in R and JAGS.

Aug. 18, 2013

One quick way to improve reporting of interaction effects in linear models.

June 24, 2013

Comparing distributions with split violin plots in R.

May 27, 2013

Fitting a regression model with uncertainty in the explanatory variable.

April 20, 2013

Experimenting with an agent based model of habitat diversity and species richness in R.

Feb. 20, 2013

Creating an interactive two host SIR model in R and shiny.

Feb. 16, 2013

Building an interactive stage-structured population model in R with shiny.

Feb. 4, 2013

Multi-species, multi-timestep occupancy model in R and JAGS

If you see mistakes or want to suggest changes, please create an issue on the source repository.

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. Source code is available at https://github.com/mbjoseph/mbjoseph.github.io, unless otherwise noted. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".