## specify prior

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Nishanth Sasankan
Posts: 27
Joined: September 07 2016
Affiliation: university of notre dame

### specify prior

I am trying to choose a prior with the following property , say variable A has uniform prior over center = 3
min =1
max= 5
and
A not equal 2
How can I specify the not equal part?

Thanks
Nishanth

Antony Lewis
Posts: 1353
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

### Re: specify prior

You'd have to modify the code, though for a continuous variable the probability of hitting exactly 2 is zero anyway, so this probably isn't what you want (you can't sample integers directly).