Contact

R.QF Function (Gnumeric)

Statistical Intermediate Gnumeric

Use Gnumeric R.QF for lower or upper F quantiles. Check degree order, reciprocal critical values, log probability and finite versus infinite endpoints.

Verification status: 24 reference, boundary and advanced-check formulas were recalculated with Gnumeric 1.12.57 ssconvert. Saved identities, the blank input and numerical results were independently checked. Gnumeric 1.12.62 was source-checked only. How formula examples are checked

Quick answer: =R.QF(.5,2,2) gives 1 in Gnumeric 1.12.57.

Availability and version history

  • Introduced: First release not established; named in Gnumeric 1.5.1 release notes.
  • Supported in: Gnumeric 1.12.62; no retirement is established.
  • Scope: Desktop Gnumeric with its Statistical Functions From R plugin. English comma-separated formulas are shown.
  • Checked: October 14, 2026. Tables and the named advanced check use 1.12.57 ssconvert. Current 1.12.62 source was inspected; that release was not executed.

What R.QF returns

R.QF inverts the central F distribution. Its default probability is the lower cumulative probability, whereas lower_tail FALSE interprets the input as an upper-tail probability. Versioned function help.

Syntax and arguments

=R.QF(probability,numerator_df,denominator_df[,lower_tail[,log_p]])
  • probability: an ordinary probability from 0 through 1, or its natural log when requested.
  • numerator_df, denominator_df: positive real degrees, preserving their order.
  • lower_tail: optional TRUE for the lower cumulative probability; FALSE requests the upper tail.
  • log_p: optional FALSE. TRUE uses natural-log probabilities, not base-10 logarithms.

Brackets mark optional arguments; do not type them. Current worksheet implementation.

Reproducible examples

These self-contained formulas were recalculated natively. Ordinary-domain results were checked against independent mathematics; source guards explain the boundary cases. Results are rounded to twelve decimal places, or thirteen significant digits for small nonzero values. This is presentation precision, not a universal accuracy guarantee.

Formula Gnumeric 1.12.57 result
=R.QF(.5,2,2) 1
=R.QF(.75,2,2) 3
=R.QF(.25,2,2) 0.333333333333
=R.QF(.95,5,10) 3.325834530413
=R.QF(.05,5,10,FALSE()) 3.325834530413
=R.QF(LN(.05),5,10,FALSE(),TRUE()) 3.325834530413
=R.QF(.5,2.5,7.5) 0.822604905606
=R.QF(0,2,2) 0

Practical worksheet

For numerator degree 5 and denominator degree 10, lower probability 0.95 gives 3.325834530413. Upper probability 0.05 gives the same cutoff. Supplying 0.05 in the default lower-tail mode would select the lower critical value instead.

With degrees 2 and 2, the inverse has the simple form p/(1−p): probabilities 0.25, 0.5 and 0.75 give 1/3, 1 and 3. These closed forms provide an independent check of the argument meaning.

Advanced interpretation and checks

Positive F quantiles satisfy q(p;d1,d2)*q(1−p;d2,d1)=1 for interior probabilities. Both the complement and the degree swap are necessary. The saved advanced check returns approximately one, with a small binary floating-point residual retained in the raw evidence.

To work in upper-tail log form, use R.QF(LN(0.05),5,10,FALSE(),TRUE()). Do not pass LN(p) without setting log_p, or supply a positive ordinary probability with log_p TRUE. Fractional degrees such as 2.5 and 7.5 remain fractional.

The saved advanced-check result for =R.QF(.95,5,10)*R.QF(.05,10,5) was 1.

Boundaries and troubleshooting

The lower probability zero returns zero. Lower probability one corresponds to an infinite endpoint and produces #NUM!; upper-tail endpoints reverse these roles. Outside [0,1] ordinary probabilities, positive log probabilities and nonpositive degrees also produce #NUM!.

An empty first argument becomes zero; with default tail it returns zero. Nonnumeric text gives #VALUE! and incorrect arity gives #N/A. Critical values only describe the chosen distribution; they do not establish the assumptions behind a variance test.

F5 is genuinely empty, rather than a cell containing an empty string.

Formula Gnumeric 1.12.57 result
=R.QF(1,2,2) #NUM!
=R.QF(0,2,2,FALSE()) #NUM!
=R.QF(1,2,2,FALSE()) 0
=R.QF(-.1,2,2) #NUM!
=R.QF(1.1,2,2) #NUM!
=R.QF(.5,0,2) #NUM!
=R.QF(.5,2,0) #NUM!
=R.QF(.5,-1,2) #NUM!
=R.QF(.5,2,-1) #NUM!
=R.QF(0,2,2,TRUE(),TRUE()) #NUM!
=R.QF(1,2,2,TRUE(),TRUE()) #NUM!
=R.QF("abc",2,2) #VALUE!
=R.QF(F5,2,2) 0
=R.QF(.5,2) #N/A
=R.QF(.5,2,2,1,0,1) #N/A

Official evidence and checking scope

The relevant complete worksheet callback and main calculation helper are unchanged between the inspected versions. That does not establish later-version numerical execution. Both stale and uncached SUM controls recalculated correctly. Native XML preserves the R.* identities. The secondary ODF export keeps these calls in the ORG.GNUMERIC namespace; it does not establish execution in another product. GUI entry, other locales and other spreadsheet products were not tested.