Recall Exercise 5.1. Repeat the simulation and make a comparison between the two populations using qqplot. Because the sample range has a beta Be (49.2). distribution. this should be verified with a straight line in the plot.
In MATLAB: Generate a sequence of 50 uniform random numbers and find their range. Repeat this procedure M = 1000 times: you will obtain 1000 ranges for 1000 sequences of 50 uniforms. Next, simulate 1000 percentiles from a beta Be (49.2) distribution for p = (1: 1000)/1001. Use?\I-file betainv(p, 49, 2). Produce a histogram for both sets of data, comparing the ordered ranges and percentiles of their theoretical distribution. Be (49.2)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here