How to accurately process an Anderson Darling test?

조회 수: 8 (최근 30일)
Isaac Valdez
Isaac Valdez 2020년 6월 30일
댓글: Isaac Valdez 2020년 7월 1일
I am conducting a Anderson Darling (Adtest) on a set of data and I am trying to verify if what I am getting is correct. However I am getting conflicting answers. In MATLAB I am getting the following:
Build_Array_Final{1}=[214.42,214.99,215.35,215.98,221.08,222.54,214.78,215,215.32,215.75,217.06,215.91,212.30,213.78,217.16,218.39,224.23,221.94...
,215.67,214.04,214.98,215.13]';
[h,p,adstat,cv] = adtest(Build_Array_Final{1},'Distribution','weibull');
% h =
% logical
% 1
% p =
% 5.0000e-04
% adstat =
% 2.1490
% cv =
% 0.7374
This is what I get as my answer however I doubled check my values with "Minitab19" I am recieiving the following data:
If someone could help me identify where I am going wrong I would be greatful.
I am using ver 2020a

채택된 답변

Jeff Miller
Jeff Miller 2020년 7월 1일
Looks to me like the same problem as in your previous question. MATLAB's 2-parameter Weibull starts from a minimum of 0, but Minitab seems to add a third parameter (Thresh) for the minimum, which it estimates at 212.1. If you subtract that number from all your observations and run your adtest command on the differences, I think MATLAB will give you the same results as Minitab.
  댓글 수: 6
Jeff Miller
Jeff Miller 2020년 7월 1일
Sorry, other than rounding error, I can't even guess.
Isaac Valdez
Isaac Valdez 2020년 7월 1일
Nontheless thank you for all the help.

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

추가 답변 (0개)

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by