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

From Apache OpenOffice Wiki
Jump to: navigation, search
m (See also:)
m
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:TRIMMEAN function}}
 +
{{Documentation/CalcFunc StatisticalTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_MODE_function
 +
|NextPage=Documentation/How_Tos/Calc:_DEVSQ_function
 +
}}__NOTOC__
  
 
== TRIMMEAN ==
 
== TRIMMEAN ==
Line 7: Line 12:
 
<tt>'''TRIMMEAN(numberlist; fraction)'''</tt>
 
<tt>'''TRIMMEAN(numberlist; fraction)'''</tt>
  
: <tt>'''numberlist'''</tt> is a range or array of numbers, not necessarily in order. <tt>'''TRIMMEAN'''</tt> returns the mean, ignoring a <tt>'''fraction'''</tt> (0 <= <tt>'''fraction'''</tt> < 1) of the values in <tt>'''numberlist'''</tt> at the extremes.
+
: <tt>'''numberlist'''</tt> is a range or array of numbers, not necessarily in order. <tt>'''TRIMMEAN'''</tt> returns the mean, ignoring a <tt>'''fraction'''</tt> (0 <= <tt>'''fraction'''</tt> < 1) of the outermost values in <tt>'''numberlist'''</tt>.
  
 
: Specifically, where ''n'' is the count of numbers in <tt>'''numberlist'''</tt>, the highest and lowest INT(''n'' * <tt>'''fraction'''</tt> / 2) values are ignored.
 
: Specifically, where ''n'' is the count of numbers in <tt>'''numberlist'''</tt>, the highest and lowest INT(''n'' * <tt>'''fraction'''</tt> / 2) values are ignored.
Line 15: Line 20:
 
: returns the mean of the values in cells A1:A100, ignoring the lowest 5 values and the highest 5 values.
 
: returns the mean of the values in cells A1:A100, ignoring the lowest 5 values and the highest 5 values.
  
=== See also: ===
+
{{SeeAlso|EN|
[[Documentation/How_Tos/Calc: AVERAGE function|'''AVERAGE''']],
+
* [[Documentation/How_Tos/Calc: AVERAGE function|AVERAGE]]
[[Documentation/How_Tos/Calc: GEOMEAN function|'''GEOMEAN''']],
+
* [[Documentation/How_Tos/Calc: GEOMEAN function|GEOMEAN]]
[[Documentation/How_Tos/Calc: HARMEAN function|'''HARMEAN''']],
+
* [[Documentation/How_Tos/Calc: HARMEAN function|HARMEAN]]
[[Documentation/How_Tos/Calc: MEDIAN function|'''MEDIAN''']],
+
* [[Documentation/How_Tos/Calc: MEDIAN function|MEDIAN]]
[[Documentation/How_Tos/Calc: MODE function|'''MODE''']]
+
* [[Documentation/How_Tos/Calc: MODE function|MODE]]
  
[[Documentation/How_Tos/Calc: Statistical functions|'''Statistical functions''']]
+
* [[Documentation/How_Tos/Calc: Statistical functions|Statistical functions]]
 +
 
 +
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
 +
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 +
[[Category: Documentation/Reference/Calc/Statistical functions]]

Latest revision as of 13:26, 2 February 2024



TRIMMEAN

Returns the mean of a set of numbers, ignoring a proportion of high and low values.

Syntax:

TRIMMEAN(numberlist; fraction)

numberlist is a range or array of numbers, not necessarily in order. TRIMMEAN returns the mean, ignoring a fraction (0 <= fraction < 1) of the outermost values in numberlist.
Specifically, where n is the count of numbers in numberlist, the highest and lowest INT(n * fraction / 2) values are ignored.

Example:

TRIMMEAN(A1:A100; 0.1)

returns the mean of the values in cells A1:A100, ignoring the lowest 5 values and the highest 5 values.



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