Prior distribution with lower bound of 0.01 but posterior distribution in negative range

Hello everyone,

I have the following question: Assume I have a prior distribution with positive support. In my case, these are the relevant lines from the estimated_params block:

@{co}_gammaimc1,(p_@{co}_gammaimc1),0.01,15,GAMMA_PDF,4,1;
@{co}_gammaimi1,(p_@{co}_gammaimi1),0.01,15,GAMMA_PDF,4,1;

I thought that this means that the posterior includes only positive values as well, but this is not the case, as you can see from the attached graph. The posterior covers a negative segment. I am using the slice sampler, I don’t know if that matters.

Many thanks in advance

Estimation_slice_LCPsep_PriorsAndPosteriors5.fig (151.0 KB)

for your help!

Best,

Ansgar