How does MATLAB compute p-values for Anderson Darling Test for the weibull distribution?
5 ビュー (過去 30 日間)
古いコメントを表示
I have compared the reported p-values for the AD test across MATLAB and Minitab for a given dataset for the weibull distribution. The results match which is what I expected, but I need to know how the calculations are performed in the background?
There is very little literature that I could find that described how this process works for non-normal distributions.
0 件のコメント
回答 (1 件)
Yash
2023 年 11 月 24 日
編集済み: Yash
2023 年 11 月 24 日
Hello Sasan,
The Anderson-Darling (AD) test is a statistical test used to determine whether a given sample of data comes from a specific probability distribution. In MATLAB, the "adtest" function is used to perform the AD test. It calculates a test statistic and p-value by comparing the dataset's distribution to the expected one. If the p-value is less than a chosen significance level, we reject the idea that the data fits the expected distribution. If the p-value is higher, we fail to reject the idea that the data fits the expected distribution.
To know about the function you can refer to its documentation here: https://in.mathworks.com/help/stats/adtest.html
The p-value in MATLAB is calculated using the AD test statistic and the corresponding null distribution. The null distribution is the distribution of the AD test statistic under the null hypothesis that the sample data comes from the specified distribution. The p-value is then calculated as the probability of observing a test statistic as extreme or more extreme than the observed test statistic, assuming the null hypothesis is true.
You can refer to the "More about" section of its MATLAB documentation for more information on the function and the underlying algorithm: https://in.mathworks.com/help/stats/adtest.html#btq5i9_
Hope this helps!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Hypothesis Tests についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!