You may ask me questions of clarification, but should not expect extensive assistance as you might on a homework problem.
Write another function which tests the uniformity of this generator by producing a sequence of 10,000 pseudo-random numbers, counting the number of observed numbers in each of 512 equal sized bins, applying the chi-square goodness-of-fit-test, and returning the p-value. (The p-value will be the area to the right of the test statistic under a chi-square distribution with 511 degrees of freedom.)
Write a function which implements the bootstrap on this data to estimate a standard error for the population 5% trimmed mean from 200 bootstrap samples.
Bret Larget, larget@mathcs.duq.edu