The command

bsample B

with B > _N

(e.g., if _N = 100., trying to sample more than 100 times with replacement)

yields
resample size must not be greater than number of observations
r(498);

Is there a command that can sample with replacement more than _N times? I realize I could loop through floor(
B / _N) times and then once more on the remainder, but I'm hoping there is a compact command.

Also, if your time allows, I'm curious: why is bsample limited in this way? It samples with replacement...why can't it generate a randomly-selected sample that has more observations than the original dataset?