What is the difference between f-test and t-test?

3 次查看(过去 30 天)
Hello Everybody;
Hope you are all doing well...
Can anybody explain the main difference between f-test and t-test?,
where i want to use it as method to identify the effective features among a list 60 features extracted out of two types of data (i.e, data 1 composed of 30 image for each image 60 features are extracted/ data 2 composed of 40 images for each image 60 features are extracted), i do search but i still misunderstand the difference..
Note that: the matlab equations for t- test is (h = ttest2(x,y)) and f-test is (H = vartest2(X,Y))
Thanks Alot;

采纳的回答

Shashank Prasanna
Shashank Prasanna 2013-6-22
t-test is used to test if two sample have the same mean. The assumptions are that they are samples from normal distribution.
f-test is used to test if two sample have the same variance. Same assumptions hold.
I have little to no experience in image processing to comment on if these tests make sense to your application. A little more info of the problem you are trying to solve will be useful.
If you are however solving a classification problem (categorizing your images) You can use stepwise logistic regression with F-statistics criterion to reduce your predictor dimension:
Alternatively you could use PCA as Image Analyst suggested which does not take into account the response when reducing the dimensionality.
  1 个评论
Mariam Sheha
Mariam Sheha 2013-6-22
Thanks for Replaying...
i am not on the classification phase, just trying to judge the extracted features that i did extract from an image to be quit effective to insert it as an input data for my classifier...
anyway, i will try all the proposed suggestions to get the best results..
Thanks A lot;

请先登录,再进行评论。

更多回答(1 个)

Image Analyst
Image Analyst 2013-6-22
Were the Wikipedia explanations not understandable? Anyway, I'm no statistician but I think you'd want Principal Components Analysis, rather than t-test of F-test, if you want to figure out which of 60 features are the most important.
  2 个评论
Mariam Sheha
Mariam Sheha 2013-6-22
编辑:Mariam Sheha 2013-6-22
Thanks a lot for replaying....
I don't say that 'i don't understand it,but the difference between using t-test or f-test upon my data as listed above was my question!
Anyway, i had partially get the answer, which specify that using t-test may be much more effective for my data than F-test, also using PCA to figure out the most effective features is a good idea...
Thanks a lot
Image Analyst
Image Analyst 2013-6-22
OK, whatever...I have no idea how you'd use either the t-test or F-test with 60 features to "judge the features", but if you do, then that's all that counts.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by