Nonparametric onesample hypothesis testing via dynamic slicing
Description
Nonparametric onesample hypothesis testing via dynamic slicing. By mapping sample values to the quantile of null distribution, ds_1
test whether they follow uniform distribution on [0, 1] via a regularized likelihoodratio. Its calculated is based on a dynamic programming procedure.
Usage
1  ds_1(y, lambda, alpha)

Arguments
y 
Vector: quantiles of observations according to null distribution. 
lambda 

alpha 

Value
Value of dynamic slicing statistic for onesample test. It is nonnegative. The null hypothesis that observations are from the null distribution is rejected if this statistic is greater than zero, otherwise accept the null hypothesis.
See Also
ds_eqp_1
.
Examples
1 2 3 4 5 6 7 