Tell me more ×
Cross Validated is a question and answer site for statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.

I'm looking for a generic MCMC algorithm for a linear model. I've been reading a lot of articles online and they are so confusing. I am hoping to understand how the method works theoretically

Can anybody help me with a step by step algorithm for implementing a MCMC method to estimate beta and variance ($\sigma^2$)?

share|improve this question
3  
You need to add a lot more context – Henry Apr 22 '12 at 13:01
@Henry: I'm looking for a generic MCMC algorithm for a linear model. I've been reading a lot of articles online and they are so confusing. YOu could however make your own assumptions about the distribution. thank you. – Matt Apr 22 '12 at 13:18
There are R packages that will do this automatically (arm is one). – Glen Apr 22 '12 at 14:20
@Glen: Thanks for your response, but I was hoping to understand how the method works theoritically – Matt Apr 22 '12 at 14:32
@Matt: are you talking about understanding how to go about setting up and computing Bayesian inference for a linear regression model? If so, please edit your question to say that, if not, please explain what you mean. – Nick Apr 23 '12 at 0:42

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.