ReactiveBayes / ExponentialFamily.jl

ExponentialFamily.jl is a Julia package that extends the functionality of Distributions.jl by providing a collection of exponential family distributions and customized implementations.
https://reactivebayes.github.io/ExponentialFamily.jl/
MIT License
12 stars 2 forks source link

What is the correct support for parameters of Chisq? #195

Closed bvdmitri closed 2 months ago

bvdmitri commented 3 months ago

Distributions.jl allows to create, e.g. Chisq(0.5), but in this case it cannot be converted to an exponential family member:

julia> convert(ExponentialFamilyDistribution, Chisq(0.5) )
ERROR: Parameter vector [-0.75] is not a valid natural parameter for distribution Chisq.