Priors


At the root of the Bayesian method are prior distributions. In ExtensibleMCMCPlots.jl these are represented by structs inheriting from

Each concrete type must implement a method

Concrete types


The following two priors are important particularly for running quick tests:

Additionally, you may leverage a full range of distributions defined in Distributions.jl by using

ExtensibleMCMC.ProductPriorType
struct ProductPrior{T,K} <: Prior
    dists::T
    idx::K
end

Generic prior distribution over parameter vector θ written in a facorized form. For instance if the prior may be written as

\[π(θ) = π_1(θ_{1:k})π_2(θ_{(k+1):n}),\]

then dists would correspond to a list containing π_1 and π_2 and idx would be a list containing 1:k and (k+1):n.

ProductPrior(dists, dims)

Base consructor specifying a list of prior dsitributions dists and a corresponding number of dimensions to which each prior distribution refers to.

source
Warning

These last two are not properly tested, so there might be some hiccups.