Supposing I have simulated 100 samples of size 50 each, I want to perform a matching or stratification procedure, how do I get the matched groups for each sample separately? Also, how do I obtain an average value of estimated parameters, like R-squared values for example?