ProductOf{InverseWishart{Float64, PDMats.PDMat{Float64, Matrix{Float64}}}, ExponentialFamily.InverseWishartFast{Float64, Matrix{Float64}}}
does not exist or is not dispatched correctly.
#216
Labels
Expected behaviour of
ProductOf{InverseWishart{Float64, PDMats.PDMat{Float64, Matrix{Float64}}}, ExponentialFamily.InverseWishartFast{Float64, Matrix{Float64}}}
But I get
This error occurs when specifying a state-space model with an unknown process noise covariance matrix:
After a discussion in the lab, we discovered this was due to a missing conversion to WishartFast when parsing parametric specifications from Dictionaries.
But upon inspection of wishart.jl, it seems that products of
Wishart
andInverseWishart
are no longer supported. I think it's very important to be able to play with distribution products when designing a model (i.e., what has a closed product and what doesn't). So I advocate for implementing the product rules forWishart
andInverseWishart
types. The easiest approach is probably to just convert types, butprod(ClosedProd(), Wishart(..), Wishart(..))
and other type combinations within the Wishart family should be possible.The text was updated successfully, but these errors were encountered: