Dear Donald McLaren Thanks again, I really appreciate the support! As I already posted, the problem was solved after restarting the computer, regarding the second factor, I typed wrong in the mail, the correct number of level was 2, not one. I apologize for the work I caused. Best, Maria Boge Lauvsnes Fra: MCLAREN, Donald [mailto:[log in to unmask]] Sendt: 30. januar 2014 16:37 Til: Lauvsnes, Maria Boge Kopi: SPM Emne: Re: [SPM] Error message when creating full factorial model Try using only 1 factor. The second factor - which isn't a factor as it has one level may be causing the issue. Best Regards, Donald McLaren ================= D.G. McLaren, Ph.D. Research Fellow, Department of Neurology, Massachusetts General Hospital and Harvard Medical School Postdoctoral Research Fellow, GRECC, Bedford VA Website: http://www.martinos.org/~mclaren Office: (773) 406-2464 ===================== This e-mail contains CONFIDENTIAL INFORMATION which may contain PROTECTED HEALTHCARE INFORMATION and may also be LEGALLY PRIVILEGED and which is intended only for the use of the individual or entity named above. If the reader of the e-mail is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that you are in possession of confidential and privileged information. Any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this e-mail unintentionally, please immediately notify the sender via telephone at (773) 406-2464 or email. On Thu, Jan 30, 2014 at 4:07 AM, Lauvsnes, Maria Boge <[log in to unmask]<mailto:[log in to unmask]>> wrote: Dear SPM'ers I use Matlab 2013a/SPM8 and tried to create a full factorial model in the fMRI module (which I have done without problem many times before), but I got the following Matlab error message: Running job #1 ------------------------------------------------------------------------ Running 'Factorial design specification' Failed 'Factorial design specification' Error using spm_meanby (line 31) row dimension mismatch between inputs In file "C:\Program Files\MATLAB\spm8\spm_meanby.m" (v1143), function "spm_meanby" at line 31. In file "C:\Program Files\MATLAB\spm8\config\spm_run_factorial_design.m" (v4537), function "spm_run_factorial_design" at line 587. The following modules did not run: Failed: Factorial design specification Do anyone have a suggestion of what I have done wrong. I tried to create a full factorial with 2 factors, the first one with 3 levels, the other with 1 level. I tried to restart Matlab/SPM, but got the same error message afterwards as well. Thanks in advance! Best, Maria Boge Lauvsnes, Stavanger, Norway