Compatibility
FTEST
Matches all 6 recorded answers
Recorded: 6 workbook cells. How we measure this · See the Rust code
Local names in 40 languages
| Language | Name in Excel |
|---|---|
| Arabic | FTEST |
| Bulgarian | FTEST |
| Czech | FTEST |
| Danish | FTEST |
| German | FTEST |
| Greek | FTEST |
| English (Australia) | FTEST |
| English (United Kingdom) | FTEST |
| English (United States) | FTEST |
| Spanish | PRUEBA.F |
| Estonian | FTEST |
| Finnish | FTESTI |
| French | TEST.F |
| Hebrew | FTEST |
| Croatian | FTEST |
| Hungarian | F.PRÓBA |
| Indonesian | FTEST |
| Italian | FTEST |
| Japanese | FTEST |
| Korean | FTEST |
| Lithuanian | FTEST |
| Latvian | FTEST |
| Norwegian | FTEST |
| Dutch | F.TOETS |
| Polish | TEST.F |
| Portuguese (Brazil) | FTEST |
| Portuguese (Portugal) | TESTEF |
| Romanian | FTEST |
| Russian | ФТЕСТ |
| Slovak | FTEST |
| Slovenian | FTEST |
| Serbian (Latin) | FTEST |
| Swedish | FTEST |
| Thai | FTEST |
| Turkish | FTEST işlevi |
| Ukrainian | FTEST |
| Vietnamese | FTEST |
| Chinese (Simplified) | FTEST |
| Chinese (Hong Kong) | FTEST |
| Chinese (Traditional) | FTEST |
Names from Microsoft's support site.
What it does
FTEST(array1, array2)
FTEST(array1,array2) returns a two-tailed F-test probability for comparing sample variances. FTEST is the compatibility spelling. It returns a probability, rather than the variance ratio statistic.
Try it
=FTEST({1,2,3},{2,3,4}) returns 1 under the current route. Both sample variances are one, so their ratio is one with equal degree counts.
Quirks
Each sample needs at least two numeric observations and a nonzero variance, otherwise #DIV/0!. Text, logical values and blanks in references are ignored; zeros count. Equal sample variances do not imply equal sample means or identical observations.
How to implement
Compute each sample variance and its count, put the larger variance in the numerator, and retain its matching degree count n-1. Evaluate the F right tail of the ratio, double it and cap at one. For the example both variances are one and both degree counts two. The current helper uses its own centered binary64 sample-variance calculation; it does not automatically inherit the separately recovered VAR.S computation tree. Tail and reduction discrepancies remain recorded.
Rust code
Show the CalcFunc source of this function
Quoted from the public repository DnaCalc/DnaCalc, crates calc-func and calc-fml, at commit 9e1884369a67. Comments are the source's own. A kernel shared with other functions appears once, on its module page.
FTEST · 5 lines · calc-func/src/catalogue/distributions.rs on GitHub103 ftest "FTEST" (2, 2) [R "array1", R "array2"] |s, a, sv| {
let x = sample(s, a, 0, sv)?;
let y = sample(s, a, 1, sv)?;
out(s, st::f_test_kernel(&x, &y))
}
Kernels shared with other functions
samplecatalogue/distributionstruncate_positive_integerported/chi_f_t_familyvalidate_nonnegative_xported/chi_f_t_familyf_dist_rt_kernelported/chi_f_t_familybinary_withported/excel_numericexcel_x87_addported/excel_numericexcel_x87_mulported/excel_numericexcel_x87_mul_addported/excel_numericmulported/excel_numeric/x87addported/excel_numeric/x87bratio_ftoiported/special_math_commonbratio_spmpar1ported/special_math_commonbratio_expargported/special_math_commonbratio_esumported/special_math_commonbratio_esum20ported/special_math_commonbratio_alnrelported/special_math_commonbratio_rlog1ported/special_math_commonbratio_gam1ported/special_math_commonbratio_gamln1ported/special_math_commonbratio_gamlnported/special_math_commonbratio_algdivported/special_math_commonbratio_bcorrported/special_math_commonbratio_gsumlnported/special_math_commonbratio_betalnported/special_math_commonbratio_betaln_60ported/special_math_commonbratio_erf_nswcported/special_math_commonbratio_erfc1ported/special_math_commonbratio_rexpported/special_math_commonbratio_psiported/special_math_commonbratio_fpserported/special_math_commonbratio_apserported/special_math_commonbratio_bpserported/special_math_commonbratio_bupported/special_math_commonbratio_brcompported/special_math_commonbratio_brcmp1ported/special_math_commonbratio_bfracported/special_math_commonbratio_bgratported/special_math_commonbratio_grat1ported/special_math_commonbratio_basymported/special_math_commonbratioported/special_math_commonsample_meanported/statistical_tests_familysample_varianceported/statistical_tests_familyf_test_kernelported/statistical_tests_family
Argument and result plumbing
No implementation has been published with a Handbook test suite for this function.
Version differences
No same-input comparison between named Excel builds is recorded for this function here. The documented behaviour below is not a measurement of every Excel release.
Alternatives
F.DIST.RT accepts a supplied ratio; VAR.S reports sample variance; T.TEST compares means under its selected model.
Named variants
No named variants are recorded yet.
Suggest a correction or contribute an implementation · For agents