Package mvpa :: Package misc :: Module stats
[hide private]
[frames] | no frames]

Module stats

source code

Little statistics helper
Classes [hide private]
  DSMatrix
DSMatrix allows for the creation of dissilimarity matrices using arbitrary distance metrics.
Functions [hide private]
 
chisquare(obs, exp=None)
Compute the chisquare value of a contingency table with arbitrary dimensions.
source code

Imports: externals, stats, N, copy


Function Details [hide private]

chisquare(obs, exp=None)

source code 

Compute the chisquare value of a contingency table with arbitrary dimensions.

If no expected frequencies are supplied, the total N is assumed to be equally distributed across all cells.

Returns: chisquare-stats, associated p-value (upper tail)