You're looking at Less Wrong's discussion board. This includes all posts, including those that haven't been promoted to the front page yet. For more information, see About Less Wrong.

VincentYu comments on What are you working on? August 2012 - Less Wrong Discussion

7 Post author: RobertLumley 03 August 2012 03:10PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (95)

You are viewing a single comment's thread. Show more comments above.

Comment author: VincentYu 04 August 2012 06:32:14PM 1 point [-]

Nice. How are you implementing MCMC? Are you using one of the Gibbs samplers like BUGS or JAGS?

I'm also an astronomy undergrad, working with infrared spectra. I don't currently need MCMC, but it's interesting and I might play around with JAGS in the future.

Comment author: iDante 04 August 2012 07:37:43PM 1 point [-]

I didn't use a Gibbs sampler but they seem useful. This article has some JAGS code you can check out. I actually used a python sampler called emcee. It's nice for simpler fits, but gets messy when you have complicated priors and such. For the most part I was doing "simple" linear fits and I followed Hogg's approach (look in section 8). There's some article by Kelly in 2007 that goes over this also but that one is already dated.

Posterior distributions from samplers are really fun to play with.