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

Module stats

source code

Little statistics helper
Functions [hide private]
 
chisquare(obs, exp=None)
Compute the chisquare value of a contingency table with arbitrary dimensions.
source code

Imports: stats, N


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)