| prior | class | coef |
|---|---|---|
| (flat) | b | |
| (flat) | b | schoolStMargaretsCollege |
| student_t(3, 0.4, 2.5) | Intercept | |
| student_t(3, 0, 2.5) | sigma |
What Does My Model Assume?
Te Kāhui Roro Reo | New Zealand Institute of Language, Brain and Behaviour
Te Whare Wānanga o Waitaha | University of Canterbury
\(p(\theta|e) = \frac{p(e|\theta)p(\theta)}{p(e)}\)
In practice, you can ignore \(p(e)\).
Cauchy
Dirichlet
Poisson
Gaussian
Beta
Gamma
Wishart
Student’s \(t\)
There’s no way around them…
Borrow, test and modify
brms defaults)| prior | class | coef |
|---|---|---|
| (flat) | b | |
| (flat) | b | schoolStMargaretsCollege |
| student_t(3, 0.4, 2.5) | Intercept | |
| student_t(3, 0, 2.5) | sigma |
(flat) indicates an uninformative prior.student_t(...), on intercept and variance, is weakly informative.
brms defaults use the data to estimate the prior.We fit a Bayesian linear regression with weakly informative priors using the
brmspakage. The intercept, representing the mean F1 for Avonside students, has a weakly informative Student t distribution (df=3, mean=0, scale=2) with moderately heavy atails. The difference between Avonside and St Margarets has a normal (mean=0, sd=0.5) prior, which expresses the expectation that the students come from the same dialect and that their mean trap F1 is very unlikely to be more than 1 point different in Lobanov normalised space. The prior on residual standard deviation is normal (mean=0, sd=2), accomodating a wide range of variation with Lobanov normalised formant values.
vs.
Explicitly specify your prior!
brms.
priorsense package is an option (Kallioinen et al. 2023).analysis.R