help > One sample or t-test
Sep 3, 2018  04:09 AM | LJ Yin
One sample or t-test
Hi Andrew,

I am trying to use NBS to analyze data. I have one group of subjects and I would like to test if the means of some connections are greater than or smaller than zero.
1) I chose one sample as the statistic analysis. And the design matrix is listed as follow:
1
1
1
1
...
I set the contrast of 1. Is this the correct way of performing the analysis?
2) According to the manual, "The one sample test randomly flips the sign of each data point for each permutation, which corresponds to a one-sided, one sample t-test. Note that the one sample test always assesses whether the mean is greater than zero, irrespective of the sign of the contrast vector." I guess the one sample test is only to test the positive effect, right? What if I would like to test both the positive and negative effect?
3) What's the difference between "one-sample" and "t-test"? Shouldn't I obtain the same result by using "one-sample" and "t-test"by applying the same design matrix and contrast like I mentioned above?
Thank you in advance.

Best regards,
Lijun

Threaded View

TitleAuthorDate
One sample or t-test
LJ Yin Sep 3, 2018
Alessio Bellato Oct 12, 2018
Andrew Zalesky Oct 15, 2018
Alessio Bellato Oct 16, 2018
Andrew Zalesky Sep 3, 2018
LJ Yin Sep 5, 2018
Andrew Zalesky Sep 6, 2018