powered by
Calculates the confidence interval for the ordinal comparison of the A statistic for two or more correlated samples.
Ord2(y, weights = FALSE, increase = FALSE, n.bootstrap = 1999, conf.level = .95, ci.method = 1, seed = 1)
Matrix of cases (rows) by scores (column 1) and group codes (column 2) (matrix).
Weight of each case. Set to TRUE to weight cases; if so, column 3 contains case weights (default = FALSE).
Set to TRUE if scores are predicted to increase with group codes (default = FALSE).
Number of bootstrap samples (scalar, default = 1999).
Confidence level (scalar, default = .95).
Method used to construct confidence interval (scalar, default = 1 (for BCA), user can also call 2 (for percentile).
Random number seed (scalar, default = 1).
A vector containing the A statistic, its estimated standard error, and the upper and lower bounds of the confidence interval.
Ruscio (2008) & Ruscio and Mullen (2012) & Ruscio and Gera (2013)
# NOT RUN { x1 <- rnorm(25) x2 <- x1 - rnorm(25, mean = 1) x3 <- x2 - rnorm(25, mean = 1) y <- cbind(x1, x2, x3) Ord2(y) # }
Run the code above in your browser using DataLab