MagicPlot Manual

Plotting and nonlinear fitting software

User Tools

Site Tools


histogram

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
histogram [Fri May 20 19:25:05 2011]
Alexander
histogram [Thu Jan 14 17:14:56 2021] (current)
Alexander
Line 1: Line 1:
-====== Histogram Calculation (Pro edition only) ======+====== Histogram Calculation ======
  
 Open Table or Figure or Fit Plot with initial data and select ''Processing → Histogram'' menu item to calculate histogram.  Open Table or Figure or Fit Plot with initial data and select ''Processing → Histogram'' menu item to calculate histogram. 
  
-{{:histogram_dialog.png|Histogram creation dialog}}+{{:histogram.png?nolink|Histogram creation dialog}}
  
-===== Binning Options ===== +===== Parameters ===== 
-You can either set the bin width/count manually or specify auto binning criteria.+You can either set the bin size/count manually or specify auto binning criteria.
  
 ==== Bin Bounds ==== ==== Bin Bounds ====
-MagicPlot align the the lower limit of the first bin exactly at the beginning of specified histogram range (''From:'' field). The upper limit of the last bin is calculated on the basis of the specified bin width and may be greater than the specified right histogram limit (''to:'' field) as shown on the screenshot above. Enter round value in the ''From:'' field if you want the lower limit of the first bin to be round.+MagicPlot align the the lower limit of the first bin exactly at the beginning of specified histogram range (''From'' field). The upper limit of the last bin is calculated on the basis of the specified bin size and may be greater than the specified right histogram limit (''to'' field) as shown on the screenshot above. Enter round value in the ''From'' field if you want the lower limit of the first bin to be round.
  
-==== Auto Binning Criteria ===+===== Auto Binning Criteria ===== 
-== You can enter any criteria in ''Auto Binning'' combo box. == +** You can enter custom criteria in ''Auto Binning'' combo box: ** 
-  * Typing ''k=...'' means setting the number of bins ''k'' +  * Typing ''<nowiki>k=...</nowiki>'' means setting the number of bins ''k'' 
-  * Typing ''h=...'' means setting the bin width ''h''.+  * Typing ''<nowiki>h=...</nowiki>'' means setting the bin size ''h''.
  
-== The default alternatives are: == +** You can use these parameters in the expression: **
-  ''k=sqrt(n)'' +
-  ''h=3.49*s/n^(1/3)'' (Scott's formula) +
-  * ''k=log2(n)+1'' (Sturges' formula) +
-  * MISE optimisation (Shimazaki method, see http://toyoizumilab.brain.riken.jp/hideaki/res/histogram.html). +
- +
-== You can use these parameters in the expression: ==+
   * ''n'' --- the number of data points   * ''n'' --- the number of data points
   * ''s'' --- data standard deviation   * ''s'' --- data standard deviation
Line 28: Line 22:
   * ''min'' --- data minimum   * ''min'' --- data minimum
   * ''max'' --- data maximum.   * ''max'' --- data maximum.
 +
 +** The default alternatives are: **
 +  * <m>k = sqrt{n}</m> --- Default criteria in Excel, Origin and some other software
 +  * <m>h = {3.49 s} / {n^{1{/}3}}</m> --- Scott's formula
 +  * <m>k = log_2 n + 1</m> --- Sturges' formula
 +  * ''MISE optimisation'' --- Shimazaki method. MagicPlot finds the minimum of Mean Integrated Squared Error (MISE) for the number of bins from 2 to ''min(n/2, 20n<sup>1/2</sup>)'' where ''n'' is the number of data points. See this paper and site for details: Shimazaki and Shinomoto, Neural Comput 19 1503-1527, 2007, [[http://2000.jukuin.keio.ac.jp/shimazaki/res/histogram.html]].
  
 ==== 'Keep on Recalculation' Option ==== ==== 'Keep on Recalculation' Option ====
 This option is used when the histogram is recalculated. Recalculation may be cause by input data change (if ''Auto Recalculate'' checkbox is selected) or invoked manually (''Recalculate'' menu item in histogram table column context menu). This option is used when the histogram is recalculated. Recalculation may be cause by input data change (if ''Auto Recalculate'' checkbox is selected) or invoked manually (''Recalculate'' menu item in histogram table column context menu).
  
-===== Preview Plot ===== +===== See Also ===== 
-The preview plot shows the histogram which is evaluated according to selected parameters. It also shows the data point positions on X axis in the bottom of the plot.+  * [[processing]]
histogram.1305905105.txt.gz · Last modified: Sun Nov 8 12:20:32 2015 (external edit)