T-test for distance between 2 Gaussians
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (2)
the cyclist
el 3 de Jun. de 2014
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 comentarios
Zbigniew
el 3 de Jun. de 2014
1 comentario
the cyclist
el 3 de Jun. de 2014
Hm. A t-test is a one-dimensional test. I don't know the equivalent for two-dimensional data.
Ver también
Categorías
Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!