How to perform an f-test on matlab ?

조회 수: 10 (최근 30일)
Marisabel Gonzalez
Marisabel Gonzalez 2018년 11월 27일
댓글: Marisabel Gonzalez 2018년 11월 29일
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

채택된 답변

Cris LaPierre
Cris LaPierre 2018년 11월 28일
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
Marisabel Gonzalez
Marisabel Gonzalez 2018년 11월 29일
Hi... I managed to sort what I was doing wrong... It's working fine now.
Thank you for your help anyway

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Descriptive Statistics and Visualization에 대해 자세히 알아보기

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by