adtest matlab,Anderson-Darling test

The Anderson-Darling test is commonly used

to test whether a data sample comes from a normal distribution. However,

it can be used to test for another hypothesized distribution, even

if you do not fully specify the distribution parameters. Instead,

the test estimates any unknown parameters from the data sample.

The test statistic belongs to the family of quadratic empirical

distribution function statistics, which measure the distance between

the hypothesized distribution, F(x)

and the empirical cdf, Fn(x)

as

n∫−∞∞(Fn(x)−F(x))w2(x)dF(x),

over the ordered sample values x1

is a weight function and n is the number of data

points in the sample.

The weight function for the Anderson-Darling test is

w(x)=[F(x)(1−F(x))]−1,

which places greater weight on the observations

in the tails of the distribution, thus making the test more sensitive

to outliers and better at detecting departure from normality in the

tails of the distribution.

The Anderson-Darling test statistic is

An2=−n−∑i=1n2i−1n[ln(F(Xi))+ln(1−F(Xn+1−i))],

where{X1<... are the ordered>

sample data points and n is the number of data

points in the sample.

In adtest, the decision to reject or not

reject the null hypothesis is based on comparing the p-value

for the hypothesis test with the specified significance level, not

on comparing the test statistic with the critical value.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值