Formualizer Docs

F.DIST

Returns the F-distribution probability for x with numerator and denominator degrees of freedom.

Use F.DIST for left-tail cumulative probabilities or density values in variance-ratio tests.

The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.

Syntax

=F.DIST(x, deg_freedom1, deg_freedom2, cumulative)

Arguments

ArgumentTypeRequiredDefault
xnumberRequired—
deg_freedom1numberRequired—
deg_freedom2numberRequired—
cumulativenumberRequired—

How it works

An F variate is the ratio (U/d₁)/(V/d₂) of independent chi-squared variates divided by their degrees of freedom. Input x must be nonnegative and both degrees of freedom positive. The cumulative flag selects the area to the left of x or the density there.

Remarks

  • Set cumulative to non-zero for CDF mode, or 0 for PDF mode.
  • Requires x >= 0, deg_freedom1 >= 1, and deg_freedom2 >= 1.
  • Invalid numeric coercions propagate as spreadsheet errors.

Error cases

  • Returns #NUM! when any domain constraint is violated.

Examples

Evaluate cumulative probability at an F statistic of two.

Formula =F.DIST(2,5,10,TRUE)

Expected result 0.835805049100261

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Evaluate density at the same statistic.

Formula =F.DIST(2,5,10,FALSE)

Expected result 0.162005742180115

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Evaluate at the lower endpoint of the distribution.

Formula =F.DIST(0,5,10,TRUE)

Expected result 0

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

A negative F statistic is outside the support.

Formula =F.DIST(-1,5,10,TRUE)

Expected result #NUM!

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Accumulate the F distribution up to 0.8 with two degrees of freedom in each sample.

Formula =F.DIST(0.8,2,2,TRUE)

Expected result 0.444444444444445

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

F PDF with symmetric 2 and 2 degrees of freedom

Formula =F.DIST(1,2,2,FALSE)

Expected result 0.25

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Implementation

Engine source

On this page