Notes on data science, philosophy, the environment, and other things I like.

### Fitting simple Bayesian glm models with stan in R

Some quick intuition for Bayesian and frequentist models with some glm examples in R. Using some tricks makes fitting variant models in stand quite simple.

stanR#### Read more

### Estimating the ratio of two parameters and confidence bounds

Bayesian and frequentist approaches to binomial dose responses in R - Part II. LC50s are ubiqutous in dose response modelling, but they are not always easy to estimate. A Bayesian approach can help here.

ecologyRstatisticsstan#### Read more

### Making a Table of Contents for mdx posts with Next.js

I have been flip flopping between next-mdx and next-mdx-remote as I build this blog and learn more about Next.js. The process of making a Table of Contents taught me a lot about strengths of both approaches to rendering mdx files with Next.js

javascriptmdxjsxNext.js#### Read more

### Testing differences in dose responses in two populations

Bayesian and frequentist approaches to binomial dose responses in R - Part I. Understanding how an endpoint, like mortality, varies with exposure or dosage is important in many situations. Here we look at two common approaches and their relative benefits.

ecologyR#### Read more

### Prey population growth contrained by predators (Lotka-Volterra)

Population growth - Part III. What happens one one growing population eats another?

ecologyR#### Read more

### Modelling density dependent (logistic) population growth

Population growth - Part II. Population growth can't go on forever. Here we have a look at how contraints are commonly incorporated into simple population growth models.

ecologypopulationexponentiallogisticderivationR#### Read more