MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Quantile and InverseCDF

  • To: mathgroup at
  • Subject: [mg87819] Quantile and InverseCDF
  • From: Peter Breitfeld <phbrf at>
  • Date: Fri, 18 Apr 2008 02:37:50 -0400 (EDT)

(* Version 6.0.2 for Mac PPC *)

I thick I am missing something obvious:

The documentation for InverseCDF says:

"For a discrete Distribution dist the inverse CDF at q ist the largest
integer x such CDF[dist,x]<=q.

But I get


InverseCDF[binom,0.5]     ---> 6
Quantile[binom,0.6]       ---> 6

CDF[binom,7]              ---> 0.772...
CDF[binom,6]              ---> 0.608...
CDF[binom,5]              ---> 0.416...

so the quantile ist the smallest integer such CDF[dist,x]>=q  ??

Gruss Peter
Peter Breitfeld, Bad Saulgau, Germany --

  • Prev by Date: Re: Re: Reduce and Indeterminate
  • Next by Date: Re: Re: List concatenation - two more methods, one truly fast
  • Previous by thread: Re: Scaling Plot inside Row
  • Next by thread: Re: Quantile and InverseCDF