JuliaStats / Klara.jl

MCMC inference in Julia
Other
167 stars 38 forks source link

Gibbs sampling from a posterior distribution kernel #175

Open wnlruc opened 6 years ago

wnlruc commented 6 years ago

How can I sample from posterior distributions of parameters? I used to use WinBUGS, for instance, the linear regression model y=a+bx+e, where y and x are known, and a, b are parameters, e is normal innovations. how can I sample a, b from their posterior distributions? Thanks!