Discussed in stan-dev/design-docs#53, but doesn't require any additional new syntax:
An M component mixture where each component uses the same distribution function could be written with a variadic function as follows:
vector[N] y;
simplex[M] p;
vector[M] mu;
vector[M] sigma;
// mixture with M components
y ~ mixture_?(p, normal, mu, sigma)
Name is up for debate
Discussed in stan-dev/design-docs#53, but doesn't require any additional new syntax:
An
Mcomponent mixture where each component uses the same distribution function could be written with a variadic function as follows:Name is up for debate