[Gretl-devel] Gamma probability density function
Artur T.
artur.tarassow at googlemail.com
Tue Feb 16 08:32:13 EST 2016
Yes, just the syntax differs but of course results should be the same.
So you can confirm that Excel computes the same values as gretl does?
Artur
Am 16.02.2016 um 14:29 schrieb Juan C. Estévez:
> No. Sorry I confuse de parameters. Excel makes gives de same results.
>
> On 16/02/2016 14:28, Juan C. Estévez wrote:
>> Maybe Matlab calculates gamma(X, a, b), not gamma (a, b, X)?
>>
>> On 16/02/2016 13:08, Artur T. wrote:
>>> Dear all,
>>>
>>> I am just trying to replicate this MATLAB example of the Gamma
>>> probability density function:
>>>
>>> http://de.mathworks.com/help/stats/gampdf.html?requestedDomain=www.mathworks.com#zmw57dd0e292788
>>>
>>> According to this, Matlab yields for shape=scale=1 and a x-vector seq(1,5) :
>>> y = 0.3679 0.3033 0.2388 0.1947 0.1637
>>>
>>> but with gretl I obtain correctly (just checked it with some statistical
>>> tables)
>>> y (1 x 5)
>>> 0.36788 0.13534 0.049787 0.018316 0.0067379
>>>
>>> <hansl>
>>> mu = seq(1,5)
>>> y = pdf(g,1,1,mu)
>>> </hansl>
>>>
>>> Just out of curiosity: What is Matlab doing? (the same results are
>>> obtained by Octave)
>>>
>>> Artur
>
>
>
> _______________________________________________
> Gretl-devel mailing list
> Gretl-devel at lists.wfu.edu
> http://lists.wfu.edu/mailman/listinfo/gretl-devel
>
More information about the Gretl-devel
mailing list