Dear Prof Pfeifer，
Recently, I am studying your particle filter. In file evaluate_prior_AR1.m, there different prior distributions (beta, gamma, uniform) of parameters are considered.
Now, I have the following question:
(1) In the Uniform distribution, there is equation “priorval=priorval-log(7)”. Why we should include the term “log(7)”？ What does it mean ?
(2) If the prior distribution is Normal(-5.3,0.4) or truncated Normal disribution (0.5,0.3) . How should the evaluate_prior_AR1.m be modified?
All the Best