Thin pass-through to simpleboot::two.boot for the
common two-sample bootstrap-of-a-statistic case (e.g. difference
of means, ratio of medians). Returns a boot object the
user can hand to boot::boot.ci or morie_boot_basic_ci().
Arguments
- x, y
Numeric vectors.
- statistic
A scalar function applied to one sample at a time (e.g.
mean,median); two.boot's contract.- R
Number of bootstrap replicates (default 1000).
- ...
Forwarded to
simpleboot::two.boot.