JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for SPM Archives


SPM Archives

SPM Archives


SPM@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

SPM Home

SPM Home

SPM  January 2008

SPM January 2008

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: first level estimation eror SPM2 and SPM5

From:

Bas Neggers <[log in to unmask]>

Reply-To:

Bas Neggers <[log in to unmask]>

Date:

Sun, 6 Jan 2008 18:10:07 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (201 lines)

Dear Mike, list,

I posted this issue a couple of times on the list. I can second that 
this is caused by the determination of parameters of the autoregressive 
modeling during the first (ReML) pass, and it does make sense that for 
voxels containing only air the AR model developed for BOLD type temporal 
correlations does not converge well.
We did not encounter this issue anymore when setting the masking 
threshold back to anything signficantly larger than 0, it is 0.8 by 
default when I remember well.

Thanks for sharing this with us, sounds like a good work-around.

Cheers,

Bas

Mike Wometz schreef:
> Hi,
>
> I've seen many postings on this spdiags error and experienced it first hand
> recently. It may result for a host of reasons, but one sure fire way to get
> this error is to use the intrinsic autocorrelation option (AR(1) + w) in
> your model in combination with a setting of the defaults.mask.thresh to 0.0
> in the spm_defaults. If you're using the mask threshold of 0.0 to get around
> excluding voxels in your second-level group analysis, but still want to use
> the intrinsic autocorrelation in your first-level, I believe you can
> increase your mask threshold for the first-level, then convert the NaNs in
> your con files to zeros, then decrease the mask threshold to 0.0 and run
> your second-level analysis. 
>
> good luck,
> Mike Wolmetz
> Johns Hopkins University
> Department of Cognitive Science
>
> On Mon, 6 Nov 2006 15:24:19 -0800, Jan Gläscher <[log in to unmask]>
> wrote:
>
>   
>> Hi Amit,
>>
>> I am just guessing here, but have you tried changing your BLAS version in 
>> MATLAB? I recently came across a similar problem on my Linux box using 
>> Matlab 7.1 (R14SP3), albeit not with the same error message, but also with 
>> non-convergence in the ReML iterations. Perhaps there is the same problem 
>> with Matlab 7.x under Windows.
>>
>> I change the BLAS version to libmkl_def.so and it work for my laptop with a 
>> Pentium M processor. Maybe it'll work for you, too. Please consult this 
>> message by Andreas Bruns and the link to a Mathworks README therein on how 
>> to change the BLAS version:
>>
>> http://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind0605&L=SPM&P=R11778
>>
>> Good Luck,
>> Jan
>>
>> Amit Etkin wrote:
>>     
>>> Hi all-
>>>
>>> I am running into an odd problem. I recently switched from a mac running
>>> unix matlab 6.5 and spm2 to a PC running windows matlab 7.0.1 and spm2. When
>>> setting up and estimating a first level model that has never given me
>>> problems before I run into the following problem on the PC (this is the end
>>> of the estimation from the matlab command window). The error is below, but
>>> the fun's not over yet...more problems further down the email:
>>>
>>> Plane  69/69 , block  14/23             :            ...read & mask data
>>> Plane  69/69 , block  15/23             :            ...read & mask data
>>> Plane  69/69 , block  16/23             :            ...read & mask data
>>> Plane  69/69 , block  17/23             :            ...read & mask data
>>> Plane  69/69 , block  18/23             :            ...read & mask data
>>> Plane  69/69 , block  19/23             :            ...read & mask data
>>> Plane  69/69 , block  20/23             :            ...read & mask data
>>> Plane  69/69 , block  21/23             :            ...read & mask data
>>> Plane  69/69 , block  22/23             :            ...read & mask data
>>> Plane  69/69 , block  23/23             :                        ...done
>>> Temporal non-sphericity (over voxels)   :             ...REML estimation
>>>   ReML Block                  - 1
>>>   ReML Iteration              : 1                            ...NaN
>>>   ReML Iteration              : 2                            ...NaN
>>>   ReML Iteration              : 3                            ...NaN
>>>   ReML Iteration              : 4                            ...NaN
>>>   ReML Iteration              : 5                            ...NaN
>>>   ReML Iteration              : 6                            ...NaN
>>>   ReML Iteration              : 7                            ...NaN
>>>   ReML Iteration              : 8                            ...NaN
>>>   ReML Iteration              : 9                            ...NaN
>>>   ReML Iteration              : 10                            ...NaN
>>>   ReML Iteration              : 11                            ...NaN
>>>   ReML Iteration              : 12                            ...NaN
>>>   ReML Iteration              : 13                            ...NaN
>>>   ReML Iteration              : 14                            ...NaN
>>>   ReML Iteration              : 15                            ...NaN
>>>   ReML Iteration              : 16                            ...NaN
>>>   ReML Iteration              : 17                            ...NaN
>>>   ReML Iteration              : 18                            ...NaN
>>>   ReML Iteration              : 19                            ...NaN
>>>   ReML Iteration              : 20                            ...NaN
>>>   ReML Iteration              : 21                            ...NaN
>>>   ReML Iteration              : 22                            ...NaN
>>>   ReML Iteration              : 23                            ...NaN
>>>   ReML Iteration              : 24                            ...NaN
>>>   ReML Iteration              : 25                            ...NaN
>>>   ReML Iteration              : 26                            ...NaN
>>>   ReML Iteration              : 27                            ...NaN
>>>   ReML Iteration              : 28                            ...NaN
>>>   ReML Iteration              : 29                            ...NaN
>>>   ReML Iteration              : 30                            ...NaN
>>>   ReML Iteration              : 31                            ...NaN
>>>   ReML Iteration              : 32                            ...NaN
>>>
>>> SPM2: spm_spm (v2.66)                              09:21:00 - 06/11/2006
>>> ========================================================================
>>> Initialising parameters                 :                   ...computing???
>>> Index exceeds matrix dimensions.
>>>
>>> Error in ==> spdiags at 114
>>>          a((len(k)+1):len(k+1),:) = [i i+d(k) B(i+(m>=n)*d(k),k)];
>>>
>>> Error in ==> spm_spm at 420
>>>         s     = spdiags(1./sqrt(diag(s)),0,nScan,nScan);
>>>
>>> Error in ==> spm_spm at 827
>>>         SPM = spm_spm(SPM);
>>>
>>> ??? Error while evaluating uicontrol Callback.
>>>
>>>
>>>
>>> This problem has been posted on in the list before, but nobody has come up
>>> with a solution, though switching to different versions of matlab has been
>>> suggested. I then downloaded spm5 and tried running the same model with spm5
>>> and get the following error at the end of estimation:
>>>
>>> Plane  69/69 , block  14/23             :            ...read & mask data
>>> Plane  69/69 , block  15/23             :            ...read & mask data
>>> Plane  69/69 , block  16/23             :            ...read & mask data
>>> Plane  69/69 , block  17/23             :            ...read & mask data
>>> Plane  69/69 , block  18/23             :            ...read & mask data
>>> Plane  69/69 , block  19/23             :            ...read & mask data
>>> Plane  69/69 , block  20/23             :            ...read & mask data
>>> Plane  69/69 , block  21/23             :            ...read & mask data
>>> Plane  69/69 , block  22/23             :            ...read & mask data
>>> Plane  69/69 , block  23/23             :                        ...done
>>> Temporal non-sphericity (over voxels)   :             ...REML estimation
>>>   ReML Block                  - 1
>>>   ReML Iteration              : 1                            ...4.796763e+004
>>>   ReML Iteration              : 2                            ...3.059561e+004
>>>   ReML Iteration              : 3                            ...2.632660e+002
>>>   ReML Iteration              : 4                            ...4.751650e-001
>>>   ReML Iteration              : 5                            ...1.323482e-004
>>>
>>> SPM: spm_spm (v$Rev: 649 $)                        20:15:56 - 06/11/2006
>>> ========================================================================
>>> Initialising parameters                 :                        ...done
>>> Output images                           :               
>>> ...initialisingError running job:
>>> Error using ==> feval
>>> Undefined command/function 'offset'.
>>> --------------------------
>>> Done.
>>>
>>>
>>>
>>> Anybody know what's going on and how to fix it?????
>>>
>>>
>>> much much much appreciated!!!
>>>
>>> Amit
>>>
>>>       
>> -- 
>> Jan Gläscher, Ph.D.         Caltech Brain Imaging Center
>> +1 (626) 395-4976 (office)  Caltech, Broad Center, M/C 114-96
>> +1 (626) 395-2000 (fax)     1200 California Blvd
>> [log in to unmask]    Pasadena, CA 91125
>> ========================================================================
>>     


-- 
--------------------------------------------------
Dr. S.F.W. Neggers
Division of Brain Research
Rudolf Magnus Institute for Neuroscience
Utrecht University Medical Center

Visiting : Heidelberglaan 100, 3584 CX Utrecht
           Room B.01.1.03
Mail     : Huispost B.01.206, P.O. Box 85500
           3508 GA Utrecht, the Netherlands
Tel      : +31 (0)30 2509609
Fax      : +31 (0)30 2505443
E-mail   : [log in to unmask]
Web      : http://www.fmri.nl/people/bas.html
--------------------------------------------------

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003
2002
2001
2000
1999
1998


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager