Borrar filtros
Borrar filtros

F-test using vartest2 is giving a NaN

2 visualizaciones (últimos 30 días)
Marisabel Gonzalez
Marisabel Gonzalez el 26 de Nov. de 2018
Respondida: Pinkesh Narsinghani el 4 de Dic. de 2018
Here's that section of the code
h0 = 0.86192;
h1_m = 1/4;
h1_e = 1/3;
H_F_m = vartest2(h0,h1_m);
H_F_e = vartest2(h0,h1_e);
When displaying both H_F_m and H_F_e I get a NaN.

Respuestas (1)

Pinkesh Narsinghani
Pinkesh Narsinghani el 4 de Dic. de 2018
You are getting NaN value because your data size is just one element.To get more details regarding How MATLAB calculates Two sample F-Test , refer the link below :

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

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