help

help >

**RE: how to write design matrix for permutation analysis**Mar 11, 2020 01:03 PM | li wenlong

RE: how to write design matrix for permutation analysis

Dear Dr. Spielberg,

Forgive my ignorance, I meet the same questions and cannot fully understand what you replied. So, can we give an example：

If the connectivity matrix is 90*90*5*2 , now we set a design matrices:

(5 subjects: sub1/sub2/sub3/sub4/sub5; 2 conditions: A/B )

we plan to compare A > B, should predictors be set like this?

predictors: 1 1 1 1 1

options: Contrasts

contrast: [1 0] (group is 1, intercept is 0)

A < B contrast: [-1 0]

What do these two columns represent? And how should I set the predictors and contrast to find the correction between A > B and scale score?

Best wishes,

Wenlong

Forgive my ignorance, I meet the same questions and cannot fully understand what you replied. So, can we give an example：

If the connectivity matrix is 90*90*5*2 , now we set a design matrices:

(5 subjects: sub1/sub2/sub3/sub4/sub5; 2 conditions: A/B )

we plan to compare A > B, should predictors be set like this?

predictors: 1 1 1 1 1

options: Contrasts

contrast: [1 0] (group is 1, intercept is 0)

A < B contrast: [-1 0]

What do these two columns represent? And how should I set the predictors and contrast to find the correction between A > B and scale score?

Best wishes,

Wenlong

## Threaded View

Title | Author | Date |
---|---|---|

xiu ling |
May 31, 2019 | |

Jeffrey Spielberg |
Jun 3, 2019 | |

li wenlong |
Mar 11, 2020 | |

Jeffrey Spielberg |
Mar 12, 2020 | |