Re: [R] (1-alpha)th percentile

From: Ben Bolker <>
Date: Fri, 16 May 2008 13:35:05 +0000 (UTC)

hanen <hanen.mastouri <at>> writes:

> hello;
> firstly, my gratitude to all who help me to find a function that allows me
> to add confidence interval to my graph.
> in order to calculate the (1-alpha)th percentile of for exemple an
> F(df1,df2) distribution i do like this:
> v<-df(alpha,df1,df2)
> percentile<-qf(v,df1,df2,alpha)
> if it is true please alert me , and if it is not what should do then?
> :handshake:

   I think it's just qf(1-alpha,df1,df2)

   To use a well-known example:
qnorm(0.975) = 1.959964
(in this case, for a two-tailed test, you need 1-alpha/2 , but F is one-tailed so that's no problem.

  Ben Bolker mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri 16 May 2008 - 13:39:36 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 16 May 2008 - 14:30:42 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive