Description Usage Arguments Value Examples
This function is used for the two-sample bootstrap test, where the test statistic is the difference between the two sample means
1 | boottesttwo(x, y, b)
|
x |
vector containing first sample. |
y |
vector containing second sample. |
b |
number of bootstrap replications |
origtest: value of test statistic on original samples
pvalue: bootstrap p-value
teststatall: vector of bootstrap test statistics
1 2 3 | x=rnorm(15,2,4)
y=rnorm(10,4,4)
boottesttwo(x,y,50)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.