bs | R Documentation |
bs()
creates a bootstrap confidence interval and is used in chapter 14 of "Applied Nonparametric Statistical Methods" (5th edition)
bs(x, y = NULL, CI.width = 0.95, nsims.bs = 10000, seed = NULL)
x |
Numeric vector |
y |
Numeric vector or NULL (defaults to |
CI.width |
Confidence interval width (defaults to |
nsims.bs |
Number of bootstrap samples to be taken (defaults to |
seed |
Random number seed to be used for Monte Carlo simulations (defaults to |
A list object object with the results from applying the function
# Example 14.5 from "Applied Nonparametric Statistical Methods" (5th edition)
bs(ch14$example14.2, nsims.bs = 2000, CI.width = 0.95, seed = 1)
bs(ch14$example14.2, nsims.bs = 2000, CI.width = 0.99, seed = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.