This content refers to an unreleased development version of PyMVPA
To provide the most recent news and documentation www.pymvpa.org reflects the development 0.6 series of PyMVPA. If you are interested in the documentation of the previous stable 0.4 series of PyMVPA, please visit v04.pymvpa.org.

mvpa.clfs.stats.NullDist

Inheritance diagram of NullDist

class mvpa.clfs.stats.NullDist(tail='both', **kwargs)

Base class for null-hypothesis testing.

Parameters :

tail : {‘left’, ‘right’, ‘any’, ‘both’}

Which tail of the distribution to report. For ‘any’ and ‘both’ it chooses the tail it belongs to based on the comparison to p=0.5. In the case of ‘any’ significance is taken like in a one-tailed test.

enable_ca : None or list of str

Names of the conditional attributes which should be enabled in addition to the default ones

disable_ca : None or list of str

Names of the conditional attributes which should be disabled

descr : str

Description of the instance

cdf(x)

Implementations return the value of the cumulative distribution function (left or right tail dpending on the setting).

fit(measure, ds)

Implement to fit the distribution to the data.

p(x, return_tails=False, **kwargs)

Returns the p-value for values of x. Returned values are determined left, right, or from any tail depending on the constructor setting.

In case a FeaturewiseMeasure was used to estimate the distribution the method returns an array. In that case x can be a scalar value or an array of a matching shape.

tail

NeuroDebian

NITRC-listed