Print

Print


 Thanks for the reply and the bug fix.  But now I encountered another problem.  

I dropped one subject so that I had an even number of subjects.  I could then
successfully generate a SnPM_cfg.mat file specifying two conditions (A/B) and
512 iterations, and defaults on all other options.

However, I got an "Out of Memory" error during the calculation phase.  I tried
again using only 256 iterations and got the out of memory error again.

I would appreciate any suggestions you might have with respect to setting up the
SnPM configuration.  Unfortunately, it is not an option at this time to increase
the swap space on the system.


sg

-----Original Message-----
From: Thomas Nichols
To: Grant, Steven (NIDA)
Cc: [log in to unmask]
Sent: 12/23/99 9:18 PM
Subject: Re: SnPM Error 

Steven,

> I am attempting to do a non-parametric (SnPM) analysis.  I have a
dataset
> with 11 subjects and 2 scans for each subject.  I get the following
error
> after entering '11' as the number of subjects in a multi-subject
analysis.
> 
> # subjects : 11
> ??? Error using ==> /export/program/SnPM96b/spm_snpm_MSA2xPerm.m
> This PlugIn only supports perfectly balanced (even) data

This is a bug; the whole point of creating the "MSA2xPerm" plug-in was
to relax the balanced conditions of the "MSA2x" plug-in (at the expense
of having to make stronger assumptions).


I can't get into the FIL right now to put up a new version, but you
can easily fix version 1.1 by deleting lines 114 and 115, the lines
that read:

-------
  if (ceil(nSubj/2)~=floor(nSubj/2))
    error('This PlugIn only supports perfectly balanced (even) data');
end
-------

Then you should be all set.  Sorry for the trouble.  Let me know if
there are any problems.

-Tom


    -- Thomas Nichols --------------------   Department of Statistics
       http://www.stat.cmu.edu/~nicholst     Carnegie Mellon University
       [log in to unmask]                 5000 Forbes Avenue
    --------------------------------------   Pittsburgh, PA 15213



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%