Description Usage Arguments Value Constraints Examples
Performs the Wald-Wolfowitz one sample test of randomness for continuous data.
1 | WaldWolftest1s(vFLvector, threshold = median(vFLvector))
|
threshold |
the cut-point to transform the data into a dichotomous vector. |
x |
a FLVector containing the observations. |
A list with class "htest" outputting the corresponding WW statistic and P Values.
alternative, plot, pvalue isnt't currently supported for FL objects.
1 2 3 4 5 6 7 8 9 10 | ## WaldWolfowitz test 1s:
data(sweetpotato)
yield <- as.FLVector(sweetpotato$yield)
WaldWolftest1s(yield)
## Data is transformed into a dichotomous vector according as each values
## is above or below a given threshold. Values equal to the level are
## removed from the sample.
## The default threshold value used in applications is the sample median
## which give us the special case of this test with n1 = n2, the runs test
## above and below the median.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.