Effacer les filtres
Effacer les filtres

How to accurately process an Anderson Darling test?

5 vues (au cours des 30 derniers jours)
Isaac Valdez
Isaac Valdez le 30 Juin 2020
Commenté : Isaac Valdez le 1 Juil 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

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by