F-test using vartest2 is giving a NaN
조회 수: 2 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
Pinkesh Narsinghani
2018년 12월 4일
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 :
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!