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

Next revision
Previous revision
histogram [Fri May 20 18:12:20 2011]
Alexander created
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}} 
 + 
 +===== Parameters ===== 
 +You can either set the bin size/count manually or specify auto binning criteria. 
 + 
 +==== 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 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 ===== 
 +** You can enter custom criteria in ''Auto Binning'' combo box: ** 
 +  * Typing ''<nowiki>k=...</nowiki>'' means setting the number of bins ''k'' 
 +  * Typing ''<nowiki>h=...</nowiki>'' means setting the bin size ''h''
 + 
 +** You can use these parameters in the expression: ** 
 +  * ''n'' --- the number of data points 
 +  * ''s'' --- data standard deviation 
 +  * ''m'' --- data mean 
 +  * ''min'' --- data minimum 
 +  * ''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 ==== 
 +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). 
 + 
 +===== See Also ===== 
 +  * [[processing]]
histogram.1305900740.txt.gz · Last modified: Sun Nov 8 12:20:32 2015 (external edit)