nboot_small {scpoisson} | R Documentation |
Random sample generation function to generate sets of samples from theoretical Poisson distribution.
Description
This function returns a data frame with generated sets of samples and simulation index.
Usage
nboot_small(x, lambda, R)
Arguments
x |
a numeric vector of sampled data points to compare with theoretical Poisson. |
lambda |
a numeric value for mean of theoretical Poisson. |
R |
a numeric value for mean of theoretical Poisson. |
Details
This is a function used to simulate a given number sets of samples from a theoretical Poisson distribution that match input samples on sample size and sample mean (or theoretical Poisson parameter). Plotting these as envelopes in Q-Q plot shows the variability in shapes we can expect when sampling from the theoretical Poisson distribution.
Value
A data frame contains simulated data and corresponding simulation index. Random sample generation function to generate sets of samples from theoretical Poisson distribution.
nboot_small returns a data frame with generate sets of samples and simulation index.
This is a function used to simulate a given number sets of samples from a theoretical Poisson distribution that match input samples on sample size and sample mean (or theoretical Poisson parameter). Plotting these as envelopes in Q-Q plot shows the variability in shapes we can expect when sampling from the theoretical Poisson distribution.
a numeric vector of number of simulation sets that match input samples on sample size and sample mean (or theoretical Poisson parameter).