Difference between revisions of "Manuals/calci/HISTOGRAM"

From ZCubes Wiki
Jump to navigation Jump to search
Line 20: Line 20:
 
*<math>NewTableFlag</math> can be a logical value TRUE or FALSE. If omitted, Calci assumes it to be FALSE.
 
*<math>NewTableFlag</math> can be a logical value TRUE or FALSE. If omitted, Calci assumes it to be FALSE.
 
*If <math>NewTableFlag</math> is TRUE, the result is displayed on new zspace sheet.
 
*If <math>NewTableFlag</math> is TRUE, the result is displayed on new zspace sheet.
 
<font color="blue">Need to check the functionality of NewTableFlag.</font>
 
 
<font color="blue">*Currently, for TRUE, result table in Calci shows (both on new zspace)</font>
 
 
<font color="blue">**Bin, Frequency columns and </font>
 
 
<font color="blue">**two more columns showing Bin and Frequency in descending order</font>
 
 
<font color="blue">*For FALSE, Calci displays only Bin and Frequency columns.</font>
 
  
 
== Examples ==
 
== Examples ==
Line 92: Line 82:
 
! Bin
 
! Bin
 
! Frequency
 
! Frequency
 +
! Cumulative
 +
! Bin
 +
! Frequency
 +
! Cumulative
 
|- class="odd"
 
|- class="odd"
 
| 10
 
| 10
 
| 2
 
| 2
 +
| 28.57142857142857%
 +
| 20
 +
| 3
 +
|
 
|- class="even"
 
|- class="even"
 
| 20
 
| 20
 
| 3
 
| 3
 +
| 71.42857142847143%
 +
| 10
 +
| 2
 +
|
 
|- class="odd"
 
|- class="odd"
 
| 30
 
| 30
 
| 0
 
| 0
 +
| 71.42857142847143%
 +
| 10
 +
| 2
 +
| 28.57142857142857%
 +
 
|- class="even"
 
|- class="even"
 
| 40
 
| 40
 
| 1
 
| 1
 +
| 85.71428571428571%
 
|- class="odd"
 
|- class="odd"
 
| 50
 
| 50
 
| 1
 
| 1
 +
| 100%
 
|- class="odd"
 
|- class="odd"
 
| More
 
| More
 
| 0
 
| 0
 +
| 100%
 
|}
 
|}
  

Revision as of 15:52, 24 February 2015

HISTOGRAM(SomeArray,BinRange,SomePareToFlag,SomeCumulativeFlag,SomeChartFlag,NewTableFlag)

  • where, is an array of data or reference to cells containing data to analyze
  • is the set of intervals to create an Histogram
  • is a logical value that decides whether to make a Pareto chart, a special histogram that sorts the columns from tallest to smallest
  • is a logical value that decides whether to display cumulative percentages in addition to bin totals
  • is a logical value that decides whether to display the chart
  • is a logical value that decides whether to display the output in the same worksheet or a new space cube.

HISTOGRAM() counts the number of occurrences of each data point in each of several data bins.

Description

HISTOGRAM(SomeArray,BinRange,SomePareToFlag,SomeCumulativeFlag,SomeChartFlag,NewTableFlag)

  • An Histogram is a representation of tabulated frequencies over discrete bins(intervals).
  • HISTOGRAM() performs data analysis in an array depending on the intervals, and returns a column chart that displays frequency data.
  • can be array of numbers to analyze using HISTOGRAM() function.
  • is the range of intervals in which data in array is counted. A data is included in particular bin range if the number is greater than lowest range and equal to or less than largest range.
  • can be a logical value TRUE or FALSE. If omitted, Calci assumes it to be FALSE.
  • If is TRUE, the result is displayed on new zspace sheet.

Examples

Consider the following table in Calci, with Columns A and B as array inputs for HISTOGRAM() function.

Array Bin Range
1 10
7 20
12 30
17 40
20 50
37
50
=HISTOGRAM(A3:A9, B3:B7, TRUE) returns the following table:

Histogram
Bin Frequency Cumulative Bin Frequency Cumulative
10 2 28.57142857142857% 20 3
20 3 71.42857142847143% 10 2
30 0 71.42857142847143% 10 2 28.57142857142857%
40 1 85.71428571428571%
50 1 100%
More 0 100%

See Also

References