From: Ian on
I am trying to do a 'paired' two sample ttest.
So basically, the command 'ttest2'.
However, this function does not specify whether the Ttest is 'paired' or 'unpaired' and I do not find anything in the 'help' which addresses this as a possible parameter to modulate the function 'ttest2'.
Because it is not addressed, I assume that the two sample ttest is unpaired; However, what I would like to know is whether or not matlab has a way of dealing with two sample, two tailed, paired ttests.
Any help would be appreciated.
From: Tom Lane on
>I am trying to do a 'paired' two sample ttest.
> So basically, the command 'ttest2'.
> However, this function does not specify whether the Ttest is 'paired' or
> 'unpaired' and I do not find anything in the 'help' which addresses this
> as a possible parameter to modulate the function 'ttest2'.
> Because it is not addressed, I assume that the two sample ttest is
> unpaired; However, what I would like to know is whether or not matlab has
> a way of dealing with two sample, two tailed, paired ttests.
> Any help would be appreciated.

Look at "help ttest". We probably ought to make that clear in the ttest2
help text as well.

-- Tom