Andrew MacDonald
  • The Study of the Household
Categories
All (33)
MAR (2)
QCBS (4)
R (2)
UdeS (25)
books (1)
brms (1)
generated quantities (1)
growth (1)
likelihood (1)
plasticity (1)
probability (1)
reproduction (2)
simulation (2)
stan (27)
statistics (1)
twitter (1)

The Study of the Household

Useful Zeros: poisson mixtures and custom families

UdeS
stan
Making something out of the right kind of nothing.
Apr 24, 2025
Andrew MacDonald
22 min

Phylogeny

UdeS
stan
it is that (evolutionary) time.
Sep 27, 2024
Andrew MacDonald
13 min

Ricker Model with Allee effects

UdeS
stan
How to model discrete growth with low-density effects.
Sep 25, 2024
Andrew MacDonald
8 min

Difference of normals is normal

probability
likelihood
Calculating something like growth with measurement error.
May 3, 2024
Andrew MacDonald
2 min

Contrasts

UdeS
stan
What’s the (kind of) difference?
Dec 14, 2023
Andrew MacDonald
7 min

How to model discrete growth

UdeS
stan
reproduction
MAR
Comparing a lagged AR-1 model with the marginalized transition distribution.
Nov 24, 2023
Andrew MacDonald
5 min

Discrete-time population growth in Stan

UdeS
stan
reproduction
MAR
Inspired by Ives 2003.
Nov 17, 2023
Andrew MacDonald
20 min

Vectorizing a multilevel AR-1 model

UdeS
stan
Vectorizing with multiple species
Nov 14, 2023
Andrew MacDonald
4 min

causal DAGS and full-luxury shade trees

QCBS
stan
Shady DAGs
Nov 8, 2023
Andrew MacDonald, Bella Richmond
3 min

Modelling discrete growth

UdeS
stan
How to model the growth of things in a sensible fashion
Nov 7, 2023
Andrew MacDonald, Kelly Forester
8 min

Power laws on log-linear plots

UdeS
stan
How to fit and plot Power Law curves with lm.
Nov 3, 2023
Andrew MacDonald, Amélie Morin
4 min

Stan-dalone generated quantites

UdeS
stan
generated quantities
working with Stan after you’ve done that once already.
Nov 1, 2023
Andrew MacDonald
3 min

Transformed regression in Stan

UdeS
stan
QCBS
Curvy lines done dirt cheap.
Aug 22, 2023
Andrew MacDonald
5 min

Missing data in non-normal distributions

UdeS
stan
QCBS
We could have counted them but we didn’t.
Aug 22, 2023
Andrew MacDonald, Flavio Affinito
5 min

Breakpoint regression in Stan

UdeS
stan
QCBS
Two lines diverged at a particular point.
Aug 5, 2023
Andrew MacDonald
10 min

Latent continuous variables

UdeS
stan
Modelling continuous latent states in Stan.
Mar 20, 2023
Andrew MacDonald
3 min

Validating a model of selection on plasticity

UdeS
stan
Plus ça change, plus c’est la change qui change
Feb 2, 2023
Andrew MacDonald
11 min

 

The evolution of plasticity

UdeS
stan
brms
simulation
How to measure plasticity with a bayesian hierarchical model
Nov 23, 2022
Andrew MacDonald and Audrey Tremblay
8 min

Simple nonlinear growth

UdeS
stan
How to model the growth of an individual of known age.
Nov 21, 2022
Andrew MacDonald
4 min

Fitting a multispecies functional response in Stan

UdeS
stan
How many things get eaten, if more than one animal gets eaten?
Nov 11, 2022
Andrew MacDonald & Ben Mercier
5 min

 

Updating R and your R packages

UdeS
stan
Because sometimes: you have to
Nov 11, 2022
Andrew MacDonald
1 min

 

Andrew tries Quarto

UdeS
stan
Quick notes on how to make a blog with Quarto and also targets.
Nov 11, 2022
Andrew MacDonald
3 min

 

Selection on plasticity

UdeS
stan
plasticity
Stan model where a slope is also a prdictor
Nov 11, 2022
Andrew MacDonald
4 min

The Cholesky decomposition

UdeS
stan
It’s giving correlations.
Nov 11, 2022
Andrew MacDonald
2 min

Uncertainty in growth increments

UdeS
stan
Process and Measurement error in a simple growth process.
Nov 11, 2022
Will Vieira, Andrew MacDonald
6 min

 

Setting priors on hierarchical multivariate models

UdeS
stan
keep it realistic.
Nov 11, 2022
Andrew MacDonald
7 min

Should we model growth as continuous or discrete

UdeS
stan
How to model without making nonsensical predictions.
Nov 11, 2022
Andrew MacDonald
5 min

Probability integral transforms

Understanding a diagnostic tool for models.
Oct 23, 2022
Andrew
6 min

Growth curves

stan
simulation
growth
Many animals and plants grow quickly when small and more slowly as they mature. There are many popular ways of describing this relationship; one very common and convenient…
Oct 14, 2022
Andrew
6 min

Population growth with functional programming

R
Today I want to tell you about an approach for functional programming in R – and then apply it to studying population growth!
Dec 7, 2016
Andrew MacDonald
6 min

 

Twitter recommends stats books

books
statistics
twitter
What are my brilliant friends reading?
Dec 2, 2016
Andrew MacDonald
2 min

Continuous fractions with Map and Reduce

R
Over the summer, some of us here at UBC started a reading group based around Hadley Wickham’s book, Advanced R Programming. The goal was to compare our answers to the…
Sep 27, 2014
Andrew MacDonald
6 min
No matching items