how to add BAO likelihood to COSMOMC
Posted: November 26 2008
Hi There,
I am new to CosmoMC, but it looks great!
I have been asked to reproduce WMAP5 + BAO results (Percival et al 2007).
My only problem is that i am not sure in which form i have to include the likelihood.
Let me explain my problem: -2lnL = X^-1 V^-1 X
Now when i add this to calclike.f90 i have
if (use_percival)
GetLogLikePost = GetLogLikePost + X^-1 V^-1 X
end if
Is it correct? Or i have to use X^-1 V^-1 X /2
Looking forward to hearing from you :)
I am new to CosmoMC, but it looks great!
I have been asked to reproduce WMAP5 + BAO results (Percival et al 2007).
My only problem is that i am not sure in which form i have to include the likelihood.
Let me explain my problem: -2lnL = X^-1 V^-1 X
Now when i add this to calclike.f90 i have
if (use_percival)
GetLogLikePost = GetLogLikePost + X^-1 V^-1 X
end if
Is it correct? Or i have to use X^-1 V^-1 X /2
Looking forward to hearing from you :)