Direct bootstrap methods for simple random sampling
directBS_srs(y, N, B, method)vector of sample values
scalar, representing the population size
scalar, number of bootstrap replications
a string indicating the bootstrap method to be used, available methods are: 'Efron', 'McCarthySnowden', 'RaoWu', 'Sitter'.
See Mashreghi et al. (2016) for details about the algorithm.
Mashreghi Z.; Haziza D.; Léger C., 2016. A survey of bootstrap methods in finite population sampling. Statistics Surveys 10 1-52.