Re: [R] fBasics package: dnig

2008-09-10 Thread Yihui Xie
Raj has mixed up the concept of "density function" with "CDF" (Cumulative Distribution Function) - the former one doesn't need to be smaller than 1, while the latter one is certainly no greater than 1. Yihui On Wed, Sep 10, 2008 at 3:55 PM, Uwe Ligges <[EMAIL PROTECTED]> wrote: > > > Rajdeep Das

Re: [R] fBasics package: dnig

2008-09-10 Thread Uwe Ligges
Rajdeep Das wrote: Hi, I am trying to calculate probability density of normal inverse gaussian distribution. I am using dnig function of fBasics package. However, I am getting following result. The density at x = 0.003042866 is: dnig(x= 0.003042866, alpha=5.184868, beta= 0.11841, delta= 0.

[R] fBasics package: dnig

2008-09-09 Thread Rajdeep Das
Hi, I am trying to calculate probability density of normal inverse gaussian distribution. I am using dnig function of fBasics package. However, I am getting following result. The density at x = 0.003042866 is: > dnig(x= 0.003042866, alpha=5.184868, beta= 0.11841, delta= 0.06038513, mu= > -0.00