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