필터 지우기
필터 지우기

T-test for distance between 2 Gaussians

조회 수: 1 (최근 30일)
Zbigniew
Zbigniew 2014년 6월 3일
댓글: the cyclist 2014년 6월 3일
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!

답변 (2개)

the cyclist
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.

Zbigniew
Zbigniew 2014년 6월 3일
Thanks for the response. But, if I understand correctly, the ttest2() function only works with 1D data. I have the (x,y) coordinates for each person.
  댓글 수: 1
the cyclist
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 CenterFile Exchange에서 Numeric Types에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by