Bug correction.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1962 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
6ff7605f58
commit
6b0ba30fb9
|
@ -85,7 +85,7 @@ elseif pshape(indx) == 5 %/* UNIFORM PRIOR */
|
|||
abscissa = infbound:stepsize:supbound;
|
||||
dens = density(abscissa,a,b);
|
||||
elseif pshape(indx) == 6 %/* INVGAMMA PRIOR type 2 */
|
||||
density = inline('inv(gamma(nu/2))*(x.^(-.5(nu+2)))*((s/2)^(nu/2)).*exp(-s./(2*x))','x','s','nu');
|
||||
density = inline('inv(gamma(nu/2))*(x.^(-.5*(nu+2)))*((s/2)^(nu/2)).*exp(-s./(2*x))','x','s','nu');
|
||||
nu = p2(indx);
|
||||
s = p1(indx);
|
||||
a = nu/2;
|
||||
|
|
Loading…
Reference in New Issue