CalcPsiUWS | R Documentation |
This statistic computes the uniformly weighted squared (UWS) differences between the empirical cumulative distribution functions for the two samples. For more information, see \insertCitemckinney2022extensions;textualdistdiffR and \insertCitemckinney2021extensions;textualdistdiffR.
CalcPsiUWS(data, subjects)
data |
A two column matrix of the bivariate pooled samples |
subjects |
A numerical vector of sample labels (use either 1 or 2) |
The Psi UWS statistic
mckinney2022extensionsdistdiffR
\insertRefmckinney2021extensionsdistdiffR
data(iris) pooled_data <- iris[iris$Species %in% c("setosa", "virginica"), 1:2] sample_labels <- rep(1:2, c(sum(iris$Species == "setosa"), sum(iris$Species == "virginica"))) CalcPsiUWS(as.matrix(pooled_data), sample_labels)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.