Obtain the prior distribution for a function's parameter

Cyan
Mon, 18 Aug 2025 12:55:07 +0000
Statistics

Hi, all. I met a problem getting the prior distribution for parameters in a function f(x; b, s, q). I wish to obtain a dict ParaDict = Dict(:b => b, :s => s, :q => q) in form of

b ~ truncated(Normal(1., 1), 0, 5)
s  ~ truncated(Normal(0., 1), 0, 0.1)
q  ~ truncated(Normal(0.5, 1.0), 0.1, 1)


ParaDict = Dict(:b => b, :s => s, :q => q)

4 posts - 3 participants