### [CosmoMC Nov 2016] Selective sampling off CosmoMC likelihood

Posted:

**January 18 2018**Dear Antony,

I'm currently thinking of using CosmoMC for the calculation of the likelihood for a given set of parameter lists, where I can set the parameter values that CosmoMC samples from.

Am I right in thinking this should be done in the GenericLikelihoodFunction part of the code because I'd assume that's reserved for calculating the likelihood in a different way, rather than just attaining a given likelihood for a given set of parameters.

Once again, apologies if this is obvious, my Fortran is a bit shaky so any help will be appreciated!

Luke

I'm currently thinking of using CosmoMC for the calculation of the likelihood for a given set of parameter lists, where I can set the parameter values that CosmoMC samples from.

Am I right in thinking this should be done in the GenericLikelihoodFunction part of the code because I'd assume that's reserved for calculating the likelihood in a different way, rather than just attaining a given likelihood for a given set of parameters.

Once again, apologies if this is obvious, my Fortran is a bit shaky so any help will be appreciated!

Luke