Extracting the likelihood function with cobaya
-
- Posts: 27
- Joined: October 05 2021
- Affiliation: UCI
Extracting the likelihood function with cobaya
I would like to know if it is possible to extract the likelihood function for the best fit value of a converged chain with cobaya. I haven't found any information in the documentation and would like to know if it's possible. Thank you in advanced!
-
- Posts: 1944
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: Extracting the likelihood function with cobaya
Not sure what you are asking. GetDist can report the best-fit sample likelihood value.
-
- Posts: 27
- Joined: October 05 2021
- Affiliation: UCI
Re: Extracting the likelihood function with cobaya
I would like to extract the likelihood function in order to compare the minimization result I'm obtaining using the BOBQYA method implemented in minimizer sampler of cobaya with a different one. The results I'm getting are not consistent as when I increase the degrees of freedom of my chains (I'm running nested models) the models get worse. GetDist can report the best-fit sample likelihood value but I need a function. Do you know if I can obtain this function?
-
- Posts: 1944
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: Extracting the likelihood function with cobaya
You can call the likelihood with the parameters of the best-fit point if that's what you mean.