decl cm = 1000, mresults;
mresults = zeros(3, cm); // precreate matrix

for (i = 0; i < cm; ++i)
{
    // generate results
    mresults[0][i] =  // store mean here
    mresults[1][i] =  // store std.dev. here
    mresults[2][i] =  // store t-value here
}
// compute averages of mean and std.dev
// perhaps draw histogram of t-values
