What is the difference between f-test and t-test?
2 views (last 30 days)
Show older comments
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;
0 Comments
Accepted Answer
Shashank Prasanna
on 22 Jun 2013
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.
More Answers (1)
Image Analyst
on 22 Jun 2013
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 Comments
Image Analyst
on 22 Jun 2013
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.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!