Finding the t values of the Student's t test (t1-α,ν)
29 views (last 30 days)
Show older comments
I have both 1-α and i have v and i was wondering if there is a way to get the t-value directly in Matlab rather than reffering to the tables.
0 Comments
Accepted Answer
More Answers (1)
Edgar Guevara
on 5 Jun 2020
The t-value is inside the STAT structure, consider the following example:
X = rand([100, 1]);
Y = rand([100, 1]);
[H,P,CI,STATS] = ttest2(X,Y);
STATS.tstat
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!