I have two random variables:
B1 ~ Beta(α1,β1)
B2 ~ Beta(α2,β2)
I would like to compute distribution of Z = B1*B2 (the product of the random variables)
Using Julia
, how can I get the pdf of a single Beta with:
x = collect(0:0.001:1);
b1 = Beta(11,41);
b2 = Beta(41,11);
posterior = pdf.(b1.*b2,x);
I get this error MethodError: no method matching *(::Distributions.Beta{Float64}, ::Distributions.Beta{Float64})