help
help > RE: pair t-test for 1 group
Feb 10, 2017 11:02 PM | Andrew Zalesky
RE: pair t-test for 1 group
Hi John,
Your design matrix looks ok. Be sure to select "two-sample t-test". The one-sample test is NOT appropriate here because you have two groups: reward and baseline.
Perhaps there are simply no differences between the two conditions.
You should also add exchange blocks, which would look like [1 1 2 2 etc]
Andrew
Originally posted by John Zang:
Your design matrix looks ok. Be sure to select "two-sample t-test". The one-sample test is NOT appropriate here because you have two groups: reward and baseline.
Perhaps there are simply no differences between the two conditions.
You should also add exchange blocks, which would look like [1 1 2 2 etc]
Andrew
Originally posted by John Zang:
Dear Prof. Zalesky
Thanks for the toolbox. I am currently running an analysis to identify a network that is different under reward v.s. baseline condition in a healthy group. To do that, I set up a pair t-test design matrix as (2 subjects for example):
1 0 -1
0 1 1
1 0 -1
0 1 1
......
the first 2 columns are for within-subject mean according to reward and baseline conditions. Then I set contrast [0 0 1].
The problem is no matter how I change the initial threshold, NBS always give me 0 connections, so I assume I did something wrong. But the example in the help icon is for 2 groups comparison, so I would like to know how to set up a pair t-test if I have only 1 group?
Thank you very much!
John
Thanks for the toolbox. I am currently running an analysis to identify a network that is different under reward v.s. baseline condition in a healthy group. To do that, I set up a pair t-test design matrix as (2 subjects for example):
1 0 -1
0 1 1
1 0 -1
0 1 1
......
the first 2 columns are for within-subject mean according to reward and baseline conditions. Then I set contrast [0 0 1].
The problem is no matter how I change the initial threshold, NBS always give me 0 connections, so I assume I did something wrong. But the example in the help icon is for 2 groups comparison, so I would like to know how to set up a pair t-test if I have only 1 group?
Thank you very much!
John
Threaded View
Title | Author | Date |
---|---|---|
John Zang | Feb 10, 2017 | |
Andrew Zalesky | Feb 10, 2017 | |
John Zang | Feb 13, 2017 | |
Andrew Zalesky | Feb 13, 2017 | |