In Distributions.jl we can specify the priors of a mixture model. But we cannot specify the weights. For example, if I want to make a mixture like this:
pdf(Normal(2, 3), x)*w1.+pdf(Normal(5, 10), x)*w2
I cannot really specify the weights. And the priors are required to add up to 1 for obv reasons. So, is there a way to specify the weights in MixtureModel? Something like:
MixtureModel(Normal[
Normal(2, 3),
Normal(5, 10)
], **weights=[w1, w2]**)
Thanks
