Finding the t values of the Student's t test (t1-α,ν)
21 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
Categories
Find more on Analysis of Variance and Covariance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!