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!
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!