Hello:
I have a question about how to set some special prior in CosmoMC. For example, I'd like to prescribe two input parameters to always obey such relation: para1>para2, so that the value pairs that don't satisfy this prior will be filtered out, even if a large flat range is preset for both parameters. Is it possible to implement it? I know about flat priors or setting limits in .ini for single-end parameters, but I am not sure how to set more complicated prior as described above. Thanks a lot.
CosmoMC: special prior
-
- Posts: 31
- Joined: October 09 2021
- Affiliation: Simon Fraser University
-
- Posts: 1984
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
-
- Posts: 31
- Joined: October 09 2021
- Affiliation: Simon Fraser University
Re: CosmoMC: special prior
Thanks for your reply. It seems to be easy in Cobaya by checking the docs. Just wondering if it is doable in CosmoMC?
-
- Posts: 1984
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: CosmoMC: special prior
Yes, you'll have to change the code calculating the prior and recompile (search the code for prior).