Page 1 of 1

CosmoMC: Fix the stepsize of a given parameter

Posted: December 29 2007
by gongbo zhao
Dear all,

Is it straightforward to fix the stepsize of a given parameter for MCMC?
For example, what to do if I am playing with an integer parameter?
Thanks very much and Happy new year!!



Cheers
Gong-Bo

Re: CosmoMC: Fix the stepsize of a given parameter

Posted: December 29 2007
by Antony Lewis
You could write your own "propose" module, or you can easily internally convert a real to an integer when you come to use the parameter.

CosmoMC: Fix the stepsize of a given parameter

Posted: December 29 2007
by gongbo zhao
Hi Antony,

Thanks very much!



Gong-Bo