help
help > RE: Contrast question
Jun 8, 2018 06:06 PM | Donald McLaren
RE: Contrast question
Hi Alex,
The weighted parameter should be a single value that indicates if the contrast is weighted by the number of trials or not. If the value is 0, then the contrast is not weighted by the number of trials. If the value is non-zero, then events where all the duration's are less than the value, then those events are weighted by the number of events.
For the contrast, you want
P.Contrasts(1).left={'Con1' 'Cond4};
P.Contrasts(1).right={'Cond2' 'Cond3'};
The reason behind this due to how we rearrange the equation:
(Cond1 - Cond2) = (Cond3 - Cond4)
becomes
Cond1 + Cond4 = Cond3 + Cond2
when we eliminate the negatives to get the left and right sides.
The weighted parameter should be a single value that indicates if the contrast is weighted by the number of trials or not. If the value is 0, then the contrast is not weighted by the number of trials. If the value is non-zero, then events where all the duration's are less than the value, then those events are weighted by the number of events.
For the contrast, you want
P.Contrasts(1).left={'Con1' 'Cond4};
P.Contrasts(1).right={'Cond2' 'Cond3'};
The reason behind this due to how we rearrange the equation:
(Cond1 - Cond2) = (Cond3 - Cond4)
becomes
Cond1 + Cond4 = Cond3 + Cond2
when we eliminate the negatives to get the left and right sides.
Threaded View
Title | Author | Date |
---|---|---|
Alex Rainer | Feb 16, 2018 | |
Donald McLaren | Feb 16, 2018 | |
Alex Rainer | May 31, 2018 | |
Donald McLaren | Jun 8, 2018 | |
Alex Rainer | Feb 21, 2018 | |
Donald McLaren | Mar 1, 2018 | |
Alex Rainer | Mar 6, 2018 | |
Donald McLaren | Mar 6, 2018 | |
Alex Rainer | Mar 6, 2018 | |
Donald McLaren | Mar 6, 2018 | |
Alex Rainer | Mar 6, 2018 | |