Unless stated otherwise JAGS model code adopts the following naming conventions:
- Data variables are in upper camel case, i.e.,
- In general an upper camel case name prefixed by a lower case character, i.e.,
bAlpha, indicates a parameter. More specifically still:
sTermindicates the standard deviation (SD) of
eDataVariable[i]is the expected value of
- An exception to the previous convention is that
nFactorindicates the number of levels of a, by definition, discrete data variable
Where the terms are defined in a table it is assumed that:
- All effects are linear (as opposed to quadratic or cubic) unless stated otherwise.
- All effects are fixed (as opposed to random) unless stated otherwise.
For more information on fixed and random effects the reader is referred to Kery and Schaub (2011, 77–82).
Kery, Marc, and Michael Schaub. 2011. Bayesian Population Analysis Using WinBUGS : A Hierarchical Perspective. Boston: Academic Press. http://www.vogelwarte.ch/bpa.html.