Hi everyone, I'm trying to get to grips with the Bayesian regression models in Stata 14. Most Bayesian analysis in my field uses a specific combination of priors which I'm trying to replicate.
For the prior distribution they use a Jeffrey's prior for the variance (which should be no problem in Stata) but also a Cauchy(1) distribution for the effect size.
Page 78 of the Stata Bayesian regression handbook shows how to specify the Jeffreys prior:
bayesmh mpg, likelihood(normal({var})) prior({mpg:_cons}, flat) prior({var}, jeffreys)
But I'm stuck on the Cauchy distribution, as it isn't in the set of pre-defined prior distributions.
Thanks!
For the prior distribution they use a Jeffrey's prior for the variance (which should be no problem in Stata) but also a Cauchy(1) distribution for the effect size.
Page 78 of the Stata Bayesian regression handbook shows how to specify the Jeffreys prior:
bayesmh mpg, likelihood(normal({var})) prior({mpg:_cons}, flat) prior({var}, jeffreys)
But I'm stuck on the Cauchy distribution, as it isn't in the set of pre-defined prior distributions.
Thanks!
Comment