You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mean-variance Beta parametrization is very common in regression modelling. Althoug the definition is pretty trivial, it would be convenient to natively support it, for instance by adding a method through keywords arguments:
Beta(; μ=0.5, σ²=0.1)
Or simply through a "new" distribution, for instance: MeanVarBeta()
Here's the definition:
functionMeanVarBeta(μ, σ²)
if σ² <=0|| σ² >= μ * (1- μ)
error("Variance σ² must be in the interval (0, μ*(1-μ)=$(μ*(1-μ))).")
end
ν = μ * (1- μ) / σ² -1
α = μ * ν
β = (1- μ) * ν
returnBeta(α, β)
end
The text was updated successfully, but these errors were encountered:
Folllow up to this thread: https://discourse.julialang.org/t/reparametrized-beta-in-turing-how-to-set-a-prior-that-depends-on-another-parameter/116753/1
Mean-variance Beta parametrization is very common in regression modelling. Althoug the definition is pretty trivial, it would be convenient to natively support it, for instance by adding a method through keywords arguments:
Or simply through a "new" distribution, for instance:
MeanVarBeta()
Here's the definition:
The text was updated successfully, but these errors were encountered: