[pymvpa] mvpa2.clfs.transerror.chisquare

Yaroslav Halchenko debian at onerussian.com
Thu May 11 14:19:23 UTC 2017


On Thu, 11 May 2017, marco tettamanti wrote:

>    Dear all,
>    I apologize if this has been asked before, or else is too trivial.

>    I have been trying to understand how the the pymvpa2 toolbox calculates
>    the chi-square test of a confusion matrix.

>    In a cross-validation (e.g., cvte.ca.stats), it seems that by default this
>    is done by means of a one-dimensional Goodness-of-fit chi-square test with
>    expected uniform frequency distribution.

>    I was wondering whether the bi-dimensional Pearson's chi square wouldn't
>    be more appropriate, as it seems to me that this would more closely
>    reflect the "predictions vs targets N x N" matrix structure.

Hi Marco,

might as well be -- I would need to read on/check... IIRC we were just
following instructions on chi-square test to be done on contingency
tables.

-- 
Yaroslav O. Halchenko
Center for Open Neuroscience     http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        



More information about the Pkg-ExpPsy-PyMVPA mailing list