🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.math.num-analysis
Article #1076

Re: F-distribution

#1076
From: Herman Rubin
Date: Fri, 08 Jan 1993 17:49
25 lines
1613 bytes
In article <1993Jan7.224458.1@uwovax.uwo.ca> maxim@uwovax.uwo.ca writes:
>F-distribution

>I am looking for either a reference or some fortran source code
>that will allow me to calculate an f-value (percentile) given
>that the area (probability) and degrees of freedom DF1 and DF2
>are known.  There are numerous references that suggest how the
>area might be calculated given that the percentile is known, but
>I have yet to come across the opposite.

>The algorithm must be accurate to at least the fifth decimal place.
>Any suggestions would be greatly appreciated.

I cannot give you more than an algorithm, which I suggest should work
fairly quickly and will not require too much programming.

Since the density of the F distribution is quite simple, I suggest
that Newton's method be used to iterate.  To improve the performance,
I suggest that in the tails, the logarithm of the tail probability,
rather than the probability itself, be used.
-- 
Herman Rubin, Dept. of Statistics, Purdue Univ., West Lafayette IN47907-1399
Phone: (317)494-6054
hrubin@snap.stat.purdue.edu (Internet, bitnet)  
{purdue,pur-ee}!snap.stat!hrubin(UUCP)
Technical Details
Message-ID: <C0Jqus.s1@mentor.cc.purdue.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!purdue!mentor.cc.purdue.edu!pop.stat.purdue.edu!hrubin
References: <1993Jan7.224458.1@uwovax.uwo.ca>

Show Full Headers
Complete Article Headers
Newsgroups: sci.math.num-analysis
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!purdue!mentor.cc.purdue.edu!pop.stat.purdue.edu!hrubin
From: hrubin@pop.stat.purdue.edu (Herman Rubin)
Subject: Re: F-distribution
Message-ID: <C0Jqus.s1@mentor.cc.purdue.edu>
Sender: news@mentor.cc.purdue.edu (USENET News)
Organization: Purdue University Statistics Department
References: <1993Jan7.224458.1@uwovax.uwo.ca>
Date: Fri, 8 Jan 1993 17:49:40 GMT
Lines: 25