Description Usage Arguments Value Examples
Performs a pdf symmetry test for given data based on the estimated kernel densities and the permutation test.
1 | kSymmetryTest(x, around = "median", ...)
|
x |
A numeric vector of data. |
around |
The desired value to check if the density is symmetric around. Must be one of 'mean', 'median', or a real number. |
... |
Futher parameters to be passed to kTest. |
A list containing:
- densities: The estimated densities for each group.
- labels: The group labels.
- ca: Common area between the (data - point) and (point - data) densities.
- pvalue: The p-value generated by the permutation test.
1 2 3 4 | x = rnorm(100)
test = kSymmetryTest(x)
print(test)
plot(test)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.