I can't see anywhere that you would enter covariates by subject in the
flexible factorial design.
I think what you want is to have 1 covariate and 3*36 values listed in
the covariate.
Each covariate needs 3*36 values. Thus you got errors.
Best Regards, Donald McLaren
=================
D.G. McLaren, Ph.D.
Postdoctoral Research Fellow, GRECC, Bedford VA
Research Fellow, Department of Neurology, Massachusetts General Hospital and
Harvard Medical School
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 Wed, Jul 20, 2011 at 11:32 AM, Ben Becker <[log in to unmask]> wrote:
> Dear SPMers,
>
> I’ve analyzed a flexible factorial design with the factors:
>
>
> - Subject (36 subjects)
> - Condition (3)
> - Group (2)
>
> Analysis and results look fine.
>
> Now I want to include a covariate (the subjects performance in condition 1, 2, 3). I tried to enter the vector as a 3*36 vector:
>
> Subject 1: performance condition 1 / performance condition 2 / performance condition 3
> Subject 2: performance condition 1 / performance condition 2 / ……………………………
>
> However, evaluation failed. Because the spm-help mentions to enter the covariates by subject I created 36 covariates and entered the 3 values for each subject. However, I get the following error message:
>
> Failed 'Factorial design specification'
> Index exceeds matrix dimensions.
> […] (v4178), function "spm_design_within_subject" at line 81.
> […] (v4185), function "spm_run_factorial_design" at line 508.
>
> Where is my mistake?
>
> Thanks in advance & best regards,
>
> Ben
>
|