Home   >   User Resources   >   Online Help   >   apaHistogram
 

 

Function index Version 3.0.0

apaHistogram(TimeSeries, nBins, MinVal, MaxVal)

Excel=apaHistogram(TimeSeries, nBins, MinVal, MaxVal)

Result

Prepares the inputs to draw a histogram and returns rich information to characterize empirical distributions:

Syntax

TimeSeries: r x 1 data vector

nBins: number of bins

MinVal: lower value of the first bin, i.e. the left end of the distribution

MaxVal: upper value of the last bin, i.e. the right end of the distribution

Remarks

The value reported in “Bins” is the middle of the bin.

The normal density and the kernel bandwidth use the sample standard deviation (denominator n − 1).