MathGroup Archive 2002

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

Search the Archive

Re: Quantile function

In a message dated 7/8/02 3:37:12 AM, a at a.a writes:

>When using the quantile function:
>Quantile[dist, 0.8]
>can anyone tell me how to get more accuracy?


dist = NormalDistribution[0, 1];

Quantile[dist, 0.8]


The display is truncated for output.  The InputForm shows this.

Quantile[dist, 0.8] // InputForm


NumberForm will display additional digits but only up to the maximum 
consistent with machine precision.

NumberForm[Quantile[dist, 0.8], 20]


For precision beyond machine precision you need to use exact or higher 
precision numbers in the definition of the distribution (as above) and in 
the call to Quantile.

N[Quantile[dist, 8/10], 20]


Quantile[dist, N[8/10, 20]]


Bob Hanlon
Chantilly, VA  USA

  • Prev by Date: Re: Simplify inequalities
  • Next by Date: RE: Simplify inequalities
  • Previous by thread: Re: Quantile function
  • Next by thread: entering problem