How to perform an f-test on matlab ?
11 views (last 30 days)
Show older comments
Marisabel Gonzalez
on 27 Nov 2018
Commented: Marisabel Gonzalez
on 29 Nov 2018
h0 = 0.43096;
h1_m = 1/4;
h1_e = 1/3;
H_F_m = vartest2(h0,h1_m);
H_F_e = vartest2(h0,h1_e);
Code above giving NaNs
0 Comments
Accepted Answer
Cris LaPierre
on 28 Nov 2018
vartest2 is expecting x and y to be vectors of numbers. It needs to be, actually, because vartest2 compares the variance of the groups. Do you have available the sample data you can use instead?
More Answers (0)
See Also
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!