generate_replicate_results function

Compute bootstrapping results