-
-
Notifications
You must be signed in to change notification settings - Fork 198
Open
Labels
Description
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