ciperm.twosample | R Documentation |
Calculates the permutation-test based confidence interval for the difference in means. Works in both for univariate and multivariate cases.
ciperm.twosample(x, y, ...)
x |
Observations from sample 1. A numeric vector of length N_1 or a matrix of dim N_1 x K. |
y |
Observations from sample 2. A numeric vector of length N_2 or a matrix of dim N_2 x K. |
... |
Additional arguments to ciperm or ciperm.multi |
It is the confidence interval for mean(y) - mean(x)
Vector or array of lower and upper ends of the confidence interval
ciperm, ciperm.multi
x <- rnorm(20) y <- rnorm(15) + 0.3 ciperm.twosample(x,y, M = 2000, level = 0.99) ## 99% confidence interval, 2000 permutations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.