How to accurately process an Anderson Darling test?

8 visualizaciones (últimos 30 días)
Isaac Valdez
Isaac Valdez el 30 de Jun. de 2020
Comentada: Isaac Valdez el 1 de Jul. de 2020
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

Respuesta aceptada

Jeff Miller
Jeff Miller el 1 de Jul. de 2020
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 comentarios
Jeff Miller
Jeff Miller el 1 de Jul. de 2020
Sorry, other than rounding error, I can't even guess.
Isaac Valdez
Isaac Valdez el 1 de Jul. de 2020
Nontheless thank you for all the help.

Iniciar sesión para comentar.

Más respuestas (0)

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by