One thing I love about #teaching is that you always #learn new things, even when giving a lecture about stuff that you know (or you think you do) very well.
Today a student asked why we should use Student's #t-test at all when comparing samples with equal variances if you can use Welch's variant, which works with unequal variances... that is, why bother checking equality of variances?
Indeed, in the case of equal variances the calculated t statistics would be the same!
This led to a great discussion involving 3 instructors, a bunch of students, and a few simulations in #Rstats which I really enjoyed!
The answer is that Welch's variation also changes how degrees of freedom are calculated, so no they are not equal!
Also, the current recommendation is NOT to check for variance equality (e.g. using Levene's test) as this paper clearly points out, lest you want to increase your Type I error!
https://bpspsychub.onlinelibrary.wiley.com/doi/pdf/10.1348/000711004849222
Gotta go change some slides...
@nicolaromano @nxskok there has been much, much earlier work on this -- https://www.tandfonline.com/doi/abs/10.1080/03610919108812964. If you want to have anything close to reasonable inference, you need to reject the null of equal variances at ridiculous levels like 50%.