### Does prior[paramname] overwrite param[paramname]?

Posted:

**April 25 2017**Dear Antony et al.,

I have a basic question concerning priors (Gaussian or flat) on parameters in CosmoMC. If I add a new parameter, let's call it paramname:

1) if I want to give it a Gaussian prior via do I still need to specify a range (i.e. a flat prior) anyway (e.g. in the same .ini file?)
2) as a corollary of the above (assuming it is correct), does always overwrite , although the latter is always necessary?

Thanks! Cheers,

Sunny

I have a basic question concerning priors (Gaussian or flat) on parameters in CosmoMC. If I add a new parameter, let's call it paramname:

1) if I want to give it a Gaussian prior via

Code: Select all

`prior[paramname]=mean std`

Code: Select all

`param[paramname] = center min max start_width propose_width`

Code: Select all

`prior[paramname]`

Code: Select all

`param[paramname]`

Thanks! Cheers,

Sunny