The following methods will construct valid objects of
monteBSSample." Please see the
‘“monte”: When is n Sufficiently Large?’ vignette
for more details and examples.
signature(population = "montePop")
This method works with an object of class
montePop" as the signature argument.
monteBSSample(population, n = c(10), mcSamples = 100, R = 100, alpha = 0.05, replace = TRUE, startSeed = NA, runQuiet = TRUE, ... )
population: An object of class
montePop" containing the population
n: A vector of sample sizes that will be used to
mcSamples Monte Carlo samples from the population.
mcSamples: A scalar specifying the number of Monte
Carlo samples to draw from the population of sizes
R: A scalar specifying the number of bootstrap
sample replicates to draw.
alpha: The two-tailed alpha level for confidence
interval calculation. I.e., for the 95% confidence level, specify
TRUE: sample with replacement;
FALSE: sample without replacement. This is for the
drawing of the
mcSamples samples of sizes
for the bootstrap replicates, which are always drawn from the
samples with replacement.
startSeed: A scalar specifying a random number seed
for the Monte Carlo draws. See
TRUE: no feedback;
feedback if available.
... : Other arguments to be passed along to
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.