Re: cdfgam_p

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu Feb 18 2010 - 21:38:31 MST

I am not sure wher you go that he correct answer is 0.34

Using the R-statistical package

> pgamma(6.29,3,1)
[1] 0.9497878

> pgamma(50.29,2,43)
[1] 1

These agree with NCL.

D

debasish@gi.alaska.edu wrote:
> Hello,
>
> I just like to know is there any error in the function "cdfgam_p"
> It works fine for the example mentioned in the web page
> i.e. p=cdfgam_p(6.29,3,1); p=0.95
>
> but for
> p=cdfgam_p(50.29,2,43); p=1 instead of 0.34
>
> thanks
>
> Debasish
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Feb 18 21:38:36 2010

This archive was generated by hypermail 2.1.8 : Tue Feb 23 2010 - 08:26:41 MST