View source: R/resampled_ttest.R
resampled_ttest | R Documentation |
Compute correlated t-statistic and p-value for resampled data
resampled_ttest(x, y, n, n1, n2, tailed = c("two", "one"), greater = NULL)
x |
|
y |
|
n |
|
n1 |
|
n2 |
|
tailed |
|
greater |
|
data.frame
containing the test statistic and p-value
Trent Henderson
Nadeau, C., and Bengio, Y. Inference for the Generalization Error. Machine Learning 52, (2003).
Bouckaert, R. R., and Frank, E. Evaluating the Replicability of Significance Tests for Comparing Learning Algorithms. Advances in Knowledge Discovery and Data Mining. PAKDD 2004. Lecture Notes in Computer Science, 3056, (2004).
x <- rnorm(100, mean = 95, sd = 0.5)
y <- rnorm(100, mean = 90, sd = 1)
resampled_ttest(x = x, y = y, n = 100, n1 = 80, n2 = 20, tailed = "two")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.