<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p>Hi all,</p>
<p><br>
</p>
<p>I have a mixed design and my hypothesis is about simple main effects. So for example, I have two groups of people, and each person experience the same 2x2 factorial design with conditions A1, A2, B1, B2. And my hypotheses are something like the simple main
 effect of A within group 1 and condition B1. </p>
<p><br>
</p>
<p>My questions:</p>
<p>1) Can I just subset the data to include only the group and condition I want <span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">
(B1 & group 1) </span>and do a t-test between condition A1 & A2 after subsetting? If I understand correctly, this approach will bias the standard error of the estimates? But I'm not sure if this matters in a permutation framework, and I also don't know if it's
 a common practice to do this in EEG analysis?</p>
<p>2) Alternatively, I can run a full mixed ANOVA model and then the simple main effect <span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">in
 R to get the test statistics I want</span>. But for this approach I'm not sure how I should perform the permutation since fieldtrip doesn't support a mixed design. Should I only permute A1 & A2 within condition B1 and group 1? Or should I permute everything within
 both factors A & B? And what about the group labels?</p>
<p><br>
</p>
<p>Any suggestions? Thanks!</p>
<p><br>
</p>
<p>Xinyi</p>
</div>
</body>
</html>