Borrar filtros
Borrar filtros

How to perform an f-test on matlab ?

8 visualizaciones (últimos 30 días)
Marisabel Gonzalez
Marisabel Gonzalez el 27 de Nov. de 2018
Comentada: Marisabel Gonzalez el 29 de Nov. de 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

Respuesta aceptada

Cris LaPierre
Cris LaPierre el 28 de Nov. de 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?
You can read more here.
  1 comentario
Marisabel Gonzalez
Marisabel Gonzalez el 29 de Nov. de 2018
Hi... I managed to sort what I was doing wrong... It's working fine now.
Thank you for your help anyway

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by