T-test for distance between 2 Gaussians
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I have an image with eye-tracking data for it for two classes of people (25 people in each class). I've calculated the mean eye position and variance for the two classes over time. So, for a given time t, I have two Gaussians with variance in the x and y direction. I'm looking for a t-test to detect when the difference between the two Gaussians is significant. Can someone direct me in the right direction for this problem?
Many thanks!
0 个评论
回答(2 个)
the cyclist
2014-6-3
If you have the Statistics Toolbox at your disposal, then you can use the ttest2() function to do this. You would apply this to the raw data, without needing to calculate the mean or variance yourself. Type
doc ttest2
for details.
0 个评论
Zbigniew
2014-6-3
1 个评论
the cyclist
2014-6-3
Hm. A t-test is a one-dimensional test. I don't know the equivalent for two-dimensional data.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!