Difference between revisions of "Manuals/calci/FREQUENCY"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''FREQUENCY'''('''d_arr''','''b_arr''') '''d_arr''' is an array of or reference to a set of values to count frequ...")
 
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
=FREQUENCY(DataArray, BinArray)=
  
'''FREQUENCY'''('''d_arr''','''b_arr''')
+
*Where <math>DataArray</math> is an 'array of values' or 'reference to set of values' from which frequency of values is to be counted, and
 +
*<math>BinArray</math> is an array or a reference to intervals in which values can be grouped.
  
'''d_arr''' is an array of or reference to a set of values to count frequencies  and '''b_arr''' is an array of or reference to intervals to group the values in d_arr.
+
FREQUENCY() calculates the number of occurrences within a range of values, and then returns a vertical array of numbers.
  
</div>
+
== Description ==
----
+
FREQUENCY(DataArray, BinArray)
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
  
FREQUENCY
+
*<math>DataArray</math> is an input array from which frequency of values is to be calculated.
 +
*If <math>DataArray</math> does not contain values, it returns array of zeros.
 +
*<math>BinArray</math> is an array of intervals in which input values are to be grouped.
 +
*If <math>BinArray</math> has no values, Calci returns the number of values in DataArray.
 +
*Blank cells are considered as zero value.
 +
*Text values are ignored.
 +
 
 +
== Examples ==
 +
Below table shows the use of FREQUENCY function:
  
</div></div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></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">
 
<div id="2SpaceContent" class="zcontent" align="left">
 
<font size="3"><font face="Times New Roman">i.e. =FREQUENCY (C1R1:C1R9, C2R1:C2R3) is 1,2,4,2</font></font>
 
 
</div>
 
----
 
<div id="1SpaceContent" class="zcontent" align="left">
 
 
It  is used to calculates how often values occur within a range of values, and then returns a vertical array of numbers.
 
 
</div>
 
----
 
<div id="5SpaceContent" class="zcontent" align="left">
 
  
 
{| id="TABLE3" class="SpreadSheet blue"
 
{| id="TABLE3" class="SpreadSheet blue"
 
|- class="even"
 
|- class="even"
| class="   " |
+
| class="sshl_f" | 5
<div id="5Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
+
| class=" " |10
| class="  " | Column1
+
| class=" " |
| class=" " | Column2
+
 
| class=" " | Column3
 
| class="  " | Column4
 
 
|- class="odd"
 
|- class="odd"
| class=" " | Row1
+
| class="sshl_f" | 20
| class="sshl_f " | 69
+
| class=" " |30
| class="sshl_f " | 60
+
| class=" " |
| class="sshl_f" | 1,2,4,2
+
 
| class="sshl_f" |
 
 
|- class="even"
 
|- class="even"
| class="  " | Row2
+
| class="sshl_f" | 15.5
| class="sshl_f" | 75
+
| class=" " |50
| class="sshl_f" | 69
+
| class=" " |
| class="sshl_f SelectTD SelectTD" |
+
 
<div id="5Space_Handle" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="5Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
 
| class="sshl_f" |
 
 
|- class="odd"
 
|- class="odd"
| Row3
+
| class="sshl_f" | 21
| class="sshl_f" | 68
+
| class=" " |
| class="sshl_f " | 79
+
| class=" " |
| class="sshl_f" |
+
 
| class="sshl_f" |
 
 
|- class="even"
 
|- class="even"
| Row4
+
| class="sshl_f" | 0.3
| class="sshl_f" | 75
+
| class=" " |
| class="sshl_f" |
+
| class=" " |
| class="sshl_f" |
+
 
| class="sshl_f" |
 
 
|- class="odd"
 
|- class="odd"
| class=" " | Row5
+
| class="sshl_f" | 45
| class="sshl_f" | 40
+
| class=" " |
| class="sshl_f" |
+
| class=" " |
| class="sshl_f" |
+
 
| class="sshl_f" |
 
 
|- class="even"
 
|- class="even"
| class="sshl_f" | Row6
+
| class="sshl_f" | 38
| class="sshl_f" | 71
+
| class=" " |
| class="sshl_f  " |
+
| class=" " |
| class="sshl_f  " |
+
 
| class="sshl_f  " |
 
|- class="odd"
 
| class="sshl_f" | Row7
 
| class="sshl_f" | 85
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| class="sshl_f" | Row8
 
| class="sshl_f" | 78
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f  " |
 
 
|- class="odd"
 
|- class="odd"
| class="sshl_f" | Row9
+
| class="sshl_f" | -2
| class=" " | 87
+
| class=" " |
| class="sshl_f" |
+
| class=" " |
| class="sshl_f" |
 
| class="sshl_f" |
 
 
|}
 
|}
  
<div align="left">[[Image:calci1.gif]]</div></div>
+
=FREQUENCY(A1:A8,B1:B3) : Returns the frequencies as '''3'''(for values < 10), '''3'''(for values between 10 and 30), </ br>'''2'''(for values between 30 and 50), '''0'''(for values > 50). </ br>Displays '''3  3  2  0''' as a result.
----
+
=FREQUENCY(A1:A9,B1:B3) : Returns the frequencies as '''4'''(for values < 10, A9 is considered '0'), '''3'''(for values between 10 and 30), </ br>'''2'''(for values between 30 and 50), '''0'''(for values > 50). </ br>Displays '''4  3  2  0''' as a result.
 +
 +
== See Also ==
 +
 
 +
*[[Manuals/calci/COUNT | COUNT]]
 +
*[[Manuals/calci/COUNTA | COUNTA]]
 +
 
 +
==References==
 +
 
 +
*[http://en.wikipedia.org/wiki/Frequency Frequency]

Revision as of 15:53, 27 March 2014

FREQUENCY(DataArray, BinArray)

  • Where is an 'array of values' or 'reference to set of values' from which frequency of values is to be counted, and
  • is an array or a reference to intervals in which values can be grouped.

FREQUENCY() calculates the number of occurrences within a range of values, and then returns a vertical array of numbers.

Description

FREQUENCY(DataArray, BinArray)

  • is an input array from which frequency of values is to be calculated.
  • If does not contain values, it returns array of zeros.
  • is an array of intervals in which input values are to be grouped.
  • If has no values, Calci returns the number of values in DataArray.
  • Blank cells are considered as zero value.
  • Text values are ignored.

Examples

Below table shows the use of FREQUENCY function:

5 10
20 30
15.5 50
21
0.3
45
38
-2
=FREQUENCY(A1:A8,B1:B3) : Returns the frequencies as 3(for values < 10), 3(for values between 10 and 30), </ br>2(for values between 30 and 50), 0(for values > 50). </ br>Displays 3  3  2  0 as a result.
=FREQUENCY(A1:A9,B1:B3) : Returns the frequencies as 4(for values < 10, A9 is considered '0'), 3(for values between 10 and 30), </ br>2(for values between 30 and 50), 0(for values > 50). </ br>Displays 4  3  2  0 as a result.

See Also

References