Print

Print


) and the columns indicate the factors (2, one for group and one for condition, subject is automatically modelled). </div>
<div>So for a subject in group 2 with scans for all four conditions you would need:</div><div>[2 1<br>2 2 <br>2 3</div><div>2 4]</div><div>Make sure your scans are entered in the right order!</div><div><br></div><div>Also, main effect for subjects doesn&#39;t need to be specified, this is done automatically (this is because you chose &#39;Subjects&#39; at the &#39;Specify Subjects or all Scans &amp; Factors&#39;).</div>
<div><br></div><div>Good luck, </div><div><br></div><div>Pieter</div><div><br></div><div><br><div class="gmail_quote">On Mon, Feb 28, 2011 at 3:14 PM, Jeffrey West <span dir="ltr">&lt;<a href="mailto:[log in to unmask]">[log in to unmask]</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


<div style="margin:4px 4px 1px;font:10pt Tahoma">
<div>Hello.</div>
<div> </div>
<div>I have question relating to setting up a flexible factorial model with 2 groups, each group has 4 conditions.</div>
<div> </div>
<div>I have 3 factors: 1 = subject (independent, variance equal), 2 = group (independent, variance not equal), 3 = condition (not independent, variance equal)</div>
<div> </div>
<div>For the subject level, I entered in 20 subjects, for each subject, I entered in the the 4 scans: con_image 1,2,3,4. For conditions, I entered 1 2 3 4. Once all 20 subjects were completed, I entered 3 main effects, and interaction: main effect: 1, main effect: 2, main effect: 3, interaction: 2 3. </div>

<div> </div>
<div>The model did not run and I got the following error message:</div>
<div> </div>
<div><strong>Running job #2<br>-----------------------------------------------------------------------<br>Running &#39;Factorial design specification&#39;<br>Failed  &#39;Factorial design specification&#39;<br>Index exceeds matrix dimensions.<br>
In file &quot;C:\Documents and Settings\JWest\Desktop\spm8\config\spm_run_factorial_design.m&quot; (v3067), function &quot;spm_run_factorial_design&quot; at line 482.</strong></div>
<div> </div>
<div><strong>The following modules did not run:<br>Failed: Factorial design specification</strong></div>
<div><strong></strong> </div>
<div>I feel like the error is in the subject level: either the scan or the conditions. I do not feel like the conditions step is correct. Can anyone please explain what I did wrong setting up my model. </div>
<div> </div>
<div>Thank you for any suggestions.</div>
<div> </div>
<div>Jef</div>
<div> </div>
<div> </div>
<div>Jeffrey West, M.A.<br>Research Analyst<br>Maryland Psychiatric Research Center<br>Baltimore, Maryland 21228-0247<br>Phone: <a href="tel:410-402-6018" target="_blank">410-402-6018</a><br>email: <a href="mailto:[log in to unmask]" target="_blank">[log in to unmask]</a> </div>

<div> </div>
<div> </div></div>
</blockquote></div><br></div>

--bcaec51a894a8f7f93049d601f97--