powered by
Calculates the A statistic for 2 correlated samples.
CalcA2(y1, y2, weights = FALSE, w = 0)
Scores for variable 1 (vector).
Scores for variable 2 (vector).
Whether to weight cases (default = FALSE).
Weights (optional) (vector, default is 0).
The A statistic.
Ruscio (2008) & Ruscio and Mullen (2012) & Ruscio and Gera (2013)
# NOT RUN { y1 <- c(6, 7, 8, 7, 9, 6, 5, 4, 7, 8, 7, 6, 9, 5, 4) y2 <- c(7, 5, 6, 7, 6, 4, 3, 5, 4, 5, 4, 5, 7, 4, 5) CalcA2(y1, y2) # }
Run the code above in your browser using DataLab