randboot: Bootstrap simulations

Description Usage Arguments Value Author(s) References See Also Examples

Description

Functions and classes to manage outputs of bootstrap simulations for one (class randboot) or several (class krandboot) statistics

Usage

1
2
3
4
5
6
7
8
as.krandboot(obs, boot, quantiles = c(0.025, 0.975), names =
colnames(boot), call = match.call())
## S3 method for class 'krandboot'
print(x, ...)
as.randboot(obs, boot, quantiles = c(0.025, 0.975), call = match.call())
## S3 method for class 'randboot'
print(x, ...)
randboot(object, ...)

Arguments

obs

a value (class randboot) or a vector (class krandboot) with observed statistics

boot

a vector (class randboot) or a matrix (class krandboot) with the bootstrap values of the statistics

quantiles

a vector indicating the lower and upper quantiles to compute

names

a vector of names for the statistics

call

the matching call

x

an object of class randboot or krandboot

object

an object on which bootstrap should be perform

...

other arguments to be passed to methods

Value

an object of class randboot or krandboot

Author(s)

St├ęphane Dray (stephane.dray@univ-lyon1.fr)

References

Carpenter, J. \& Bithell, J. (2000) Bootstrap confidence intervals: when, which, what? A practical guide for medical statisticians.Statistics in medicine, 19, 1141-1164

See Also

randboot.multiblock

Examples

1
2
3
4
5
## an example corresponding to 10 statistics and 100 repetitions
bt <- as.krandboot(obs = rnorm(10), boot = matrix(rnorm(1000), nrow = 100))
bt
if(adegraphicsLoaded())
plot(bt) 


Search within the ade4 package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.