Is ttest2 with the 'Vartype' set as 'unequal' essentially the same as a Welch's t-test?

17 views (last 30 days)
Hi all,
Just like to confirm that I've understand the documentation for using the ttest2 (https://www.mathworks.com/help/stats/ttest2.html) correctly.
Am I right to assume that when I set 'Vartype' as 'unequal' (essentially saying that variance of samples are NOT known to be the same), ttest2 becomes a Welch's t-test?
Hope you could help me confirm this.
Thank you

Answers (0)

Categories

Find more on Line Plots 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!