mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 05:03:55 +08:00
44 lines
2.6 KiB
HTML
44 lines
2.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>TRIMMEAN Function</title>
|
|
<meta charset="utf-8" />
|
|
<meta name="description" content="" />
|
|
<link type="text/css" rel="stylesheet" href="../../../../../../common/main/resources/help/editor.css" />
|
|
<link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" />
|
|
<script type="text/javascript" src="../callback.js"></script>
|
|
<script type="text/javascript" src="../../../../../../common/main/resources/help/search/js/page-search.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class="mainpart">
|
|
<div class="search-field">
|
|
<input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
|
|
</div>
|
|
<h1>TRIMMEAN Function</h1>
|
|
<p>The <b>TRIMMEAN</b> function is one of the <a href="../UsageInstructions/InsertFunction.htm#statistical" onclick="onhyperlinkclick(this)">statistical functions</a>. It is used to return the mean of the interior of a data set. <b>TRIMMEAN</b> calculates the mean taken by excluding a percentage of data points from the top and bottom tails of a data set.</p>
|
|
<h3>Syntax</h3>
|
|
<p><b><em>TRIMMEAN(array, percent)</em></b></p>
|
|
<p>The <b>TRIMMEAN</b> function has the following arguments:</p>
|
|
<table style="width: 40%">
|
|
<tr>
|
|
<th style="background-color: #f4f4f4" width="150ch"><b>Argument</b></th>
|
|
<th style="background-color: #f4f4f4"><b>Description</b></th>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>array</em></b></td>
|
|
<td>The range of numeric values to trim and average.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>percent</em></b></td>
|
|
<td>A total percent of data points to exclude from the calculation. A numeric value greater than or equal to 0 but less than 1. The number of excluded data points is rounded down to the nearest multiple of 2. E.g., if <b><em>array</em></b> contains 30 values and <b><em>percent</em></b> is 0.1, 10 percent of 30 points is 3. This value is rounded down to 2, so 1 point is trimmed from each tail of the data set: 1 from the top and 1 from the bottom of the set.</td>
|
|
</tr>
|
|
</table>
|
|
<h3>Notes</h3>
|
|
<p><a href="../UsageInstructions/InsertFunction.htm#applyfunction" onclick="onhyperlinkclick(this)">How to apply</a> the <b>TRIMMEAN</b> function.</p>
|
|
|
|
<h3>Examples</h3>
|
|
<p>The figure below displays the result returned by the <b>TRIMMEAN</b> function.</p>
|
|
<p><img alt="TRIMMEAN Function" src="../images/trimmean.png" /></p>
|
|
</div>
|
|
</body>
|
|
</html> |