Model templates, that can be used to implement custom models without writing boilerplate code.
Portions of the code that must be modified are marked with double square brackets, like so: [[ ]]
.
The available templates are:
undir.stan
: Generic template for measurement of undirected graph.dir.stan
: Generic template for measurement of directed graph.undir_multitype.stan
: Generic template for measurement of undirected graph with many edge types.
See stan
reference manual for details on how to use various probability mass functions and probability density functions.