over_replacement: Select a simple random sampling with over-replacement

View source: R/AntalTille_UPS.R

over_replacementR Documentation

Select a simple random sampling with over-replacement

Description

Used for resampling procedures. Proposed by Antal and Tille' (2011).

Usage

over_replacement(N, n)

Arguments

N

integer, the population size

n

integer, the sample size

Value

an integer vector of size n, indicating how many times each unit is present in the sample

References

Antal, E.; Tillé, Y. (2011). Simple random sampling with over-replacement. Journal of Statistical Planning and Inference, 141(1), 597-601.


bootstrapFP documentation built on Sept. 3, 2023, 1:08 a.m.