Problem with gamrnd
Posted: Wed Jan 12, 2011 10:34 pm
Hi,
I installed dynare 4.1.3. and added it to Matlab's path
I'm trying to use the function gamrnd included in the distribution and have no problem with integral shape parameters:
But if I try to use a floating point parameter, I get this:
What am I doing wrong?
Thanks in advance
I installed dynare 4.1.3. and added it to Matlab's path
I'm trying to use the function gamrnd included in the distribution and have no problem with integral shape parameters:
- Code: Select all
>> gamrnd([1], [1], 'Johnk')
ans =
0.0226461410565992
But if I try to use a floating point parameter, I get this:
- Code: Select all
>> gamrnd([0.1], [1], 'Johnk')
??? Undefined function or variable "Devroye".
Error in ==> gamrnd at 103
if strcmpi(Devroye.small,'Weibull')
What am I doing wrong?
Thanks in advance