Skip to content

Higher-order mixture distribution #3254

@WardBrian

Description

@WardBrian

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions