##### Coding discrete explanatory variables

9 min

index coding

bayesian inference

stan

r

There are a number of ways to code discrete explanatory variables. In this post, we explore the equivalence of using two of the most common ways: dummy coding and index…

08 Aug 2023