Hi,
If i have two free parameters n1 and n2 (i am varying both and getting the marginalised probabilities for each separately), can i get the probability of (n1 -n2)? ie, the prob. distribution for the difference of two parameters n1 and n2? Is it possible to obtain this from the chains for n1 and n2?
Thanks in advance!
diff of two parameters
-
- Posts: 1943
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: diff of two parameters
Yes, just define a new parameter and marginalize as normal.
In CosmoMC, write your re-mapping in MapParameters of GetDist.f90 and then use map_params=T in the .ini file. There should be an example in the code.
In CosmoMC, write your re-mapping in MapParameters of GetDist.f90 and then use map_params=T in the .ini file. There should be an example in the code.