Difference between revisions of "Manuals/calci/QUARTILE"

From ZCubes Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
*<math>ar</math>  is the array of numeric values  
 
*<math>ar</math>  is the array of numeric values  
 
*<math> qu</math> indicates the  position of the quartile
 
*<math> qu</math> indicates the  position of the quartile
 
  
 
==Description==
 
==Description==
Line 8: Line 7:
 
*Quartiles are the values that divide a list of numbers into quarters.   
 
*Quartiles are the values that divide a list of numbers into quarters.   
 
*A quartile is a type of quantile.  
 
*A quartile is a type of quantile.  
*In <math> QUARTILE(ar,qu), ar</math> is the array  of numeric values to find the Quartile and <math> qu</math> is the position of the quartile.
+
*In <math> QUARTILE(ar,qu)</math>, <math>ar</math> is the array  of numeric values to find the Quartile and <math> qu</math> is the position of the quartile.
 
*qu value        QUARTILE(result)
 
*qu value        QUARTILE(result)
  0  _                  Minimum value
+
  0  -          Minimum value
  1  -                 First quartile(25th Percentile)
+
  1  -           First quartile(25th Percentile)
  2    -                 Median value(50th Percentile)
+
  2    -         Median value(50th Percentile)
  3    -                 Third quartile(75th Percentile)
+
  3    -         Third quartile(75th Percentile)
  4    -                   Maximum value   
+
  4    -         Maximum value   
 
*The difference between the upper and lower quartiles is called the interquartile range.  
 
*The difference between the upper and lower quartiles is called the interquartile range.  
 
*When we are giving qu in a decimal value ,then it will change in to integer.
 
*When we are giving qu in a decimal value ,then it will change in to integer.

Revision as of 05:52, 7 January 2014

QUARTILE(ar,qu)


  • is the array of numeric values
  • indicates the position of the quartile

Description

  • This function gives the value of quartile for a given set.
  • Quartiles are the values that divide a list of numbers into quarters.
  • A quartile is a type of quantile.
  • In , is the array of numeric values to find the Quartile and is the position of the quartile.
  • qu value QUARTILE(result)
0   -           Minimum value
1   -           First quartile(25th Percentile)
2    -          Median value(50th Percentile)
3    -          Third quartile(75th Percentile)
4    -          Maximum value  
  • The difference between the upper and lower quartiles is called the interquartile range.
  • When we are giving qu in a decimal value ,then it will change in to integer.
  • This function will give the result as error when
 1.The array is empty
 2. qu<0 or qu>4
 3. MIN,MEDIAN and MAX will give the same value as QUARTILE when qu is 0,2,and 4 respectively.


Examples

  1. ar={2,3,7,9,15}
  • QUARTILE(A1:A5,0)=2
  • QUARTILE(A1:A5,1)=3
  1. ar={8,12,13,20,25,28,42}
  • QUARTILE(B2:B8,3)=26.5
  • QUARTILE(B2:B8,4)=42
  • QUARTILE(B2:B8,5)=NAN

See Also

References