4.11.5.1.3. stats Package

4.11.5.1.3.1. correlation Module

4.11.5.1.3.2. qqplot Module

Taken from exmaple by Zhiyi Liu, zhiyil@fnal.gov here: http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=6865 and converted into Python

rootpy.math.stats.qqplot.critical_value(n, p)[source]

the routine is used to calculate critical value given n and p, confidential level = 1 - p. Original Reference: http://velveeta.che.wisc.edu/octave/lists/archive//octave-sources.2003/msg00031.html I just checked it, but it is not available now...

rootpy.math.stats.qqplot.effective_sample_size(h)[source]

calculate effective sample size for a histogram same way as ROOT does.

rootpy.math.stats.qqplot.qqplot(h1, h2, quantiles=None)[source]

Return a Graph of a QQ plot and confidence band