Random Numbers. A variable is said to be uniformly distributed or to have a uniform distribution with

Question:

Random Numbers. A variable is said to be uniformly distributed or to have a uniform distribution with parameters a and b if its distribution has the shape of the horizontal line segment with equation y = 1/(b − a), for a < x <

b. The mean and standard deviation of such a variable are (a + b)/2 and (b − a)/

√12, respectively. The basic random-number generator on a computer or calculator, which returns a number between 0 and 1, simulates a variable having a uniform distribution with parameters 0 and 1.

a. Sketch the distribution of a uniformly distributed variable with parameters 0 and 1. Observe from your sketch that such a variable is far from being normally distributed.

b. Use the technology of your choice to simulate 2000 samples of two random numbers between 0 and 1.

c. Find the sample mean of each of the 2000 samples obtained in part (b).

d. Determine the mean and standard deviation of the 2000 sample means.

e. Theoretically, what are the mean and the standard deviation of all possible sample means for samples of size 2? Compare your answers to those you obtained in part (d).

f. Obtain a histogram of the 2000 sample means. Is the histogram bell shaped? Would you expect it to be?

g. Repeat parts (b)–

(f) for a sample size of 35.

Step by Step Answer:

Related Book For  book-img-for-question

Introductory Statistics

ISBN: 9781292099729

10th Global Edition

Authors: Neil A. Weiss

Question Posted: