Contact

FTEST Function (LibreOffice Calc)

Statistical Intermediate LibreOffice Calc

LibreOffice Calc FTEST compares sample variances. Follow reproducible range examples, degrees of freedom and the smaller-tail rule.

Verification status: Official release source and independently calculated examples for FTEST were reviewed. No new LibreOffice Calc application execution is claimed for this guide; the stated version and example limits still apply. How formula examples are checked

Quick answer: For A2:A5 containing 1, 2, 3, 4 and B2:B5 containing 2, 4, 6, 8, =FTEST(A2:A5;B2:B5) is approximately 0.284756979865.

Availability and version history

  • Introduced: First release not established. The LibreOffice 3.3 function appendix documents this name; that establishes historical presence, not its introduction.
  • Supported in: LibreOffice 26.8.1.1; no final supported release established.
  • Scope: Desktop Calc. Examples use English function names and semicolon argument separators; the numeric contract is release-specific.
  • Checked: October 14, 2026. Retained official sources and independent mathematics checked. No new LibreOffice Calc execution is claimed here.

Purpose and statistical assumptions

FTEST compares the sample variances of two independent normal populations. It computes variances from the observations, rather than accepting two precomputed variance cells. The classical F reference is sensitive to departures from normality; it is not a general-purpose guarantee about arbitrary distributions. Pinned implementation.

A p-value summarizes compatibility with equal population variances under that sampling model. It is not the probability that the populations are identical. Different means can coexist with equal variances, and a non-small p-value is not proof of equality.

Syntax and range requirements

=FTEST(Data1; Data2)

Exactly two arguments are required. Each sample needs at least two numeric observations and a nonzero sample variance. The ranges may have different sizes. LibreOffice Help explicitly excludes text and empty cells in ranges; use COUNT to verify the included numeric observations. Zero is a valid observation and is not a missing-data marker.

The evaluator places the larger sample variance in the numerator and carries that sample’s nāˆ’1 degrees of freedom with it. It then returns twice the smaller F-distribution tail, so exchanging the ranges preserves the mathematical result.

Reproducible reference worksheet

Enter the following data. D has only three observations; keep D5 empty and exclude it explicitly in the formulas.

Row A B C D
2 1 2 1 1
3 2 4 1 2
4 3 6 1 3
5 4 8 3 (leave blank)

These are independently computed values from the cited release expression, rounded to twelve decimal places. They are ordinary mathematical reference p-values.

Formula Expected result, approximately
=FTEST(A2:A5;B2:B5) 0.284756979865
=FTEST(B2:B5;A2:A5) 0.284756979865
=FTEST(A2:A5;A2:A5) 1
=FTEST(A2:A5;D2:D4) 0.792636778959
=FTEST(D2:D4;A2:A5) 0.792636778959
=FTEST(D2:D4;C2:C5) 0.92951600309
=FTEST(C2:C5;D2:D4) 0.92951600309
=FTEST(B2:B5;C2:C5) 0.153531978441

For A and B, VAR gives 1.666666666667 and 6.666666666667, respectively. The selected ratio is 4 with df1=df2=3. Keep the original observations: entering only those two variance cells would leave each FTEST sample with a single observation.

Advanced check: equal variances, unequal counts

C contains 1, 1, 1, 3 and D contains 1, 2, 3. Both sample variances are exactly 1. LibreOffice returns approximately 0.929516003090 in either order.

To calculate a conventional doubled-smaller-tail result explicitly, put the fixed-order variance ratio in F2 with =VAR(D2:D4)/VAR(C2:C5), then put its upper tail in F3 with =FDIST(F2;COUNT(D2:D4)-1;COUNT(C2:C5)-1). =2*MIN(F3;1-F3) gives approximately 0.929516003090. Both sample variances must be positive.

Avoid misleading repairs and interpretations

The explicit calculation is useful for checking orientation and degrees of freedom when porting a workbook. Do not choose between a one-sided and two-sided scientific alternative after inspecting the data.

Before using the result, inspect outliers and data-entry problems without automatically deleting observations. Keep measurement units consistent: multiplying just one sample by a conversion factor changes its variance by the square of that factor. Errors from insufficient data or constant samples should remain visible rather than be replaced with zero.

Official evidence and calculation scope

The numerical references were recomputed independently against the retained release contract. Native application execution, import paths and locale behavior are not newly verified by these reference calculations.