octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gamrnd(0,1)


From: Muhali
Subject: gamrnd(0,1)
Date: Mon, 27 May 2013 14:31:44 -0700 (PDT)

I noticed that R and ML return 0 for gamrna distributed RVs with shape=0 and
scale=1 (gamrnd(0,1)=0), whereas octave gives NaN.

Given the fact that gampdf(x,a,1) --> inf for x,a --> 0 I find some
justification for having gamrnd(0,1) = 0.

M.




--
View this message in context: 
http://octave.1599824.n4.nabble.com/gamrnd-0-1-tp4653349.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]