Difference between revisions of "Documentation/How Tos/Calc: FTEST function"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial content)
 
m
 
(16 intermediate revisions by 8 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:FTEST function}}
 +
{{Documentation/CalcFunc StatisticalTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_FDIST_function
 +
|NextPage=Documentation/How_Tos/Calc:_GAMMA_function
 +
}}__NOTOC__
 +
 
 +
[[ru:RU/kb/00000131]]
  
 
== FTEST ==
 
== FTEST ==
Line 8: Line 15:
 
: <tt>'''data1'''</tt> and <tt>'''data2'''</tt> are ranges or arrays (possibly of different size) containing numbers, on which the F-test is performed. The F-test calculates the likelihood that two samples have the same variance.
 
: <tt>'''data1'''</tt> and <tt>'''data2'''</tt> are ranges or arrays (possibly of different size) containing numbers, on which the F-test is performed. The F-test calculates the likelihood that two samples have the same variance.
  
: In effect, the sample variances of <tt>'''data1'''</tt> and <tt>'''data2'''</tt> are calculated. <tt>'''data1'''</tt> and <tt>'''data2'''</tt> are re-ordered if necessary so that <tt>'''data1'''</tt> has the larger variance (&sigma;<sub>1</sub>) and <tt>'''data2'''</tt> the smaller (&sigma;<sub>2</sub>), and an F_value is calculated as &sigma;<sub>1</sub>/&sigma;<sub>2</sub>. The result returned is <tt>'''2*FDIST(F_value; COUNT(data1)-1; COUNT(data2)-1)'''</tt>. This is the two-tailed probability that the variances in <tt>'''data1'''</tt> and <tt>'''data2'''</tt> are not significantly different. (The internal algorithms used by Calc are more sophisticated than this).
+
: In effect, the sample variances of <tt>'''data1'''</tt> and <tt>'''data2'''</tt> are calculated. <tt>'''data1'''</tt> and <tt>'''data2'''</tt> are re-ordered if necessary so that <tt>'''data1'''</tt> has the larger variance (&sigma;<sub>1</sub>) and <tt>'''data2'''</tt> the smaller (&sigma;<sub>2</sub>), and an F_value is calculated as &sigma;<sub>1</sub>/&sigma;<sub>2</sub>. The result returned by <tt>'''FTEST'''</tt> is <tt>'''2*FDIST(F_value; COUNT(data1)-1; COUNT(data2)-1)'''</tt>. This is the two-tailed probability that the variances in <tt>'''data1'''</tt> and <tt>'''data2'''</tt> are not significantly different. (The internal algorithms used by Calc are more sophisticated than this).
  
 
: <i>Advanced topic:</i>
 
: <i>Advanced topic:</i>
Line 17: Line 24:
 
: returns approximately <tt>'''0.82'''</tt>. The probability that the variances of these two samples are not significantly different is about 82%. Note: a real world example would need more data than this.
 
: returns approximately <tt>'''0.82'''</tt>. The probability that the variances of these two samples are not significantly different is about 82%. Note: a real world example would need more data than this.
  
=== See also: ===
+
=== Issues: ===
[[Documentation/How_Tos/Calc: FDIST function|'''FDIST''']]
+
* Earlier versions of Excel and the ODFF specification incorrectly claimed this was a one-tailed test.
  
[[Documentation/How_Tos/Using Arrays|'''Array formulas''']]
+
{{SeeAlso|EN|
 
+
* [[Documentation/How_Tos/Calc: FDIST function|FDIST]]
[[Documentation/How_Tos/Calc: Statistical functions|'''Statistical functions''']]
+
* [[Documentation/How_Tos/Using Arrays|Array formulas]]
 
+
* [[Documentation/How_Tos/Calc: Statistical functions|Statistical functions]]
=== Issues: ===
+
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
* Earlier versions of Excel and the ODFF draft specification incorrectly claimed this was a one-tailed test.
+
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 +
[[Category: Documentation/Reference/Calc/Statistical functions]]

Latest revision as of 13:55, 2 February 2024

FTEST

Returns the result of an F-test.

Syntax:

FTEST(data1; data2)

data1 and data2 are ranges or arrays (possibly of different size) containing numbers, on which the F-test is performed. The F-test calculates the likelihood that two samples have the same variance.
In effect, the sample variances of data1 and data2 are calculated. data1 and data2 are re-ordered if necessary so that data1 has the larger variance (σ1) and data2 the smaller (σ2), and an F_value is calculated as σ12. The result returned by FTEST is 2*FDIST(F_value; COUNT(data1)-1; COUNT(data2)-1). This is the two-tailed probability that the variances in data1 and data2 are not significantly different. (The internal algorithms used by Calc are more sophisticated than this).
Advanced topic:
The parameters data1 and data2 are always evaluated as array formulas.

Example:

FTEST({9;8;6;8}; {5;6;7})

returns approximately 0.82. The probability that the variances of these two samples are not significantly different is about 82%. Note: a real world example would need more data than this.

Issues:

  • Earlier versions of Excel and the ODFF specification incorrectly claimed this was a one-tailed test.



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_FTEST_function&oldid=260047"
Views
Personal tools
Navigation
Tools
In other languages