| MATLAB Central > MATLAB Newsreader > not sure about results of ttest and qqplot |
|
|
|
Subject: not sure about results of ttest and qqplot From: jenya polyakova Date: 18 Mar, 2010 00:54:07 Message: 1 of 6 |
|
I plotted my two samples on the QQplot and the plot lies almost perfectly on 45deg line. But then I run ttest(x,y,0.05,'both') and it gives me H=1 (i.e. reject the null hypothesis that the means are equal). It has been a few years since I last used ttest. But my understanding it should have not rejected null hypothesis because the two samples x and y are almost identical (qqplot). Is this right? Thanks |
|
Subject: not sure about results of ttest and qqplot From: Wayne King Date: 18 Mar, 2010 03:10:15 Message: 2 of 6 |
|
"jenya polyakova" <jenya56@yahoo.com> wrote in message <hnrtjf$q8e$1@fred.mathworks.com>... |
|
Subject: not sure about results of ttest and qqplot From: jenya Date: 18 Mar, 2010 06:27:25 Message: 3 of 6 |
|
But my means are almost equal. that is why I do not understand why it rejects it? |
|
Subject: not sure about results of ttest and qqplot From: Wayne King Date: 18 Mar, 2010 09:14:04 Message: 4 of 6 |
|
"jenya " <jenya56@yahoo.com> wrote in message <hnsh4d$jl9$1@fred.mathworks.com>... |
|
Subject: not sure about results of ttest and qqplot From: Wayne King Date: 18 Mar, 2010 10:22:04 Message: 5 of 6 |
|
"Wayne King" <wmkingty@gmail.com> wrote in message <hnsqss$j0m$1@fred.mathworks.com>... |
|
Subject: not sure about results of ttest and qqplot From: jenya polyakova Date: 18 Mar, 2010 16:06:03 Message: 6 of 6 |
|
yes, Wayne, ttest2 did the magic. I should be more careful about reading documentations. Thanks!! |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
Contact us at files@mathworks.com
