Difference between revisions of "Manuals/calci/TRIMMEAN"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> <font color="#484848"><font face="Arial, sans-serif"><font size="2">'''TRIMMEAN'''</font></font></font><font color="#...")
 
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
<div style="font-size:30px">'''TRIMMEAN(ar,p)'''</div><br/>
 +
*<math>ar </math>  is the array of values to find trim and average .
 +
*<math> p </math> is the fractional number of data points.
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">'''TRIMMEAN'''</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">(</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">'''ar'''</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">, </font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">'''p'''</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">)</font></font></font>
 
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">Where' ar' is the array and p is the incomplete number of data points.</font></font></font>
+
==Description==
 +
*This function gives the truncated mean of a given set of points.
 +
*Trimmean  is a measure of mean that indicates the central tendancy of a set of values.
 +
*Trimmean is also called truncated mean. 
 +
*It is the  method of finding average  that removes a small percentage of the largest and smallest values before calculating the mean.
 +
*In <math> TRIMMEAN(ar,p) ar</math> is the array of values to calculate the trimmed mean.p is the fractional number that we want to remove from the given set of numbers.
 +
*For e.g., if p=0.2 for the 20 points data set, then to calculate the <math> TRIMMEAN </math> it will exclude 4 points(20*0.2) from the data set, 2 numbers from lowest value and 2 numbers from highest value. 
 +
*Also this function rounds the number of excluded data points down to the nearset multiple of 2.
 +
*If p=0.1 for the 30 points data set, then it should exclude (30*0.1)  3 points from the data set. But it will remove one number from top and one number from bottom, so it will exclude only 2 numbers instead of 3 numbers.
 +
      This function will give the result as error when p<0 or p>1
  
</div>
 
----
 
<div id="1SpaceContent" class="zcontent" align="left"> <font color="#484848"><font face="Arial, sans-serif"><font size="2">It returns the mean which taken by excluding the top and bottom data.</font></font></font></div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left"> 
 
  
* <font color="#484848"><font face="Arial, sans-serif"><font size="2">If percent &lt; 0 or percent &gt; 1, TRIMMEAN returns zero value when percent is grater than .</font></font></font>
 
  
</div>
+
==Examples==
----
+
{| class="wikitable"
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
+
|+Spreadsheet
 
+
|-
TRIMMEAN
+
! !! A !! B !! C !! D!! E !! F !! G !! H !! I !! J !! K !! L
 
+
|-
</div></div>
+
! 1
----
+
| 14 || 18 || 21 ||19 || 20 || 23 || 8 || 10 || 7 || 18 || 12 || 11
<div id="8SpaceContent" class="zcontent" align="left"> 
+
|}
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">Lets see an example,</font></font></font>
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">B</font></font></font>
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">8</font></font></font>
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">9</font></font></font>
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">10</font></font></font>
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">11</font></font></font>
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">5</font></font></font>
 
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">6</font></font></font>
+
#=TRIMMEAN(A1:L1,0.2) = 15.6
 +
#=TRIMMEAN(A1:L1,0.4) = 15.625
 +
#=TRIMMEAN(A1:L1,0.1) = 15.91666
 +
#=TRIMMEAN(A1:L1,0) = 15.91666
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">7</font></font></font>
 
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">8</font></font></font>
+
==See Also==
 +
*[[Manuals/calci/AVERAGE  |AVERAGE ]]
 +
*[[Manuals/calci/GEOMEAN  | GEOMEAN ]]
 +
*[[Manuals/calci/HARMEAN  | HARMEAN ]
 +
*[[Manuals/calci/MEDIAN  | MEDIAN ]
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2"><nowiki>=TRIMMEAN(B2:B9,0.2) is 8</nowiki></font></font></font>
 
 
<br /><br />
 
 
</div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></div></div>
 
----
 
<div id="4SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Remarks </div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Examples </div></div>
 
----
 
<div id="11SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Description </div></div>
 
----
 
<div id="2SpaceContent" class="zcontent" align="left">
 
 
{| id="TABLE3" class="SpreadSheet blue"
 
|- class="even"
 
|
 
| class="  " | Column1
 
| class="  " | Column2
 
| class="      " | Column3
 
| class="  " | Column4
 
|- class="odd"
 
| class="SelectTD" | Row1
 
| class="sshl_f" | 8
 
| class="sshl_f" | 8
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| class="  " | Row2
 
| class="sshl_f" | 9
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="odd"
 
| Row3
 
| class="sshl_f" | 10
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| Row4
 
| class="sshl_f" | 11
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="odd"
 
| class=" " | Row5
 
| class="sshl_f" | 5
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| class="sshl_f" | Row6
 
| class="sshl_f" | 6
 
| class="sshl_f" |
 
| class="sshl_f  " |
 
| class="sshl_f  " |
 
|- class="odd"
 
| class="sshl_f" | Row7
 
| class="sshl_f" | 7
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| class="sshl_f" | Row8
 
| class="sshl_f" | 8
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|}
 
  
<div align="left">[[Image:calci1.gif]]</div></div>
+
==References==
----
 

Revision as of 00:31, 3 February 2014

TRIMMEAN(ar,p)


  • is the array of values to find trim and average .
  • is the fractional number of data points.


Description

  • This function gives the truncated mean of a given set of points.
  • Trimmean is a measure of mean that indicates the central tendancy of a set of values.
  • Trimmean is also called truncated mean.
  • It is the method of finding average that removes a small percentage of the largest and smallest values before calculating the mean.
  • In is the array of values to calculate the trimmed mean.p is the fractional number that we want to remove from the given set of numbers.
  • For e.g., if p=0.2 for the 20 points data set, then to calculate the it will exclude 4 points(20*0.2) from the data set, 2 numbers from lowest value and 2 numbers from highest value.
  • Also this function rounds the number of excluded data points down to the nearset multiple of 2.
  • If p=0.1 for the 30 points data set, then it should exclude (30*0.1) 3 points from the data set. But it will remove one number from top and one number from bottom, so it will exclude only 2 numbers instead of 3 numbers.
      This function will give the result as error when p<0 or p>1


Examples

Spreadsheet
A B C D E F G H I J K L
1 14 18 21 19 20 23 8 10 7 18 12 11
  1. =TRIMMEAN(A1:L1,0.2) = 15.6
  2. =TRIMMEAN(A1:L1,0.4) = 15.625
  3. =TRIMMEAN(A1:L1,0.1) = 15.91666
  4. =TRIMMEAN(A1:L1,0) = 15.91666


See Also

  • AVERAGE
  • GEOMEAN
  • [[Manuals/calci/HARMEAN | HARMEAN ]
  • [[Manuals/calci/MEDIAN | MEDIAN ]


References