The second method for obtaining information about a statistic’s sampling distribution is to perform a simulation experiment. This method is usually used when a derivation via probability rules is very difficult or even impossible. Such an experiment is virtually always done with the aid of a computer. The following characteristics of an experiment must be specified:

  1. The statistic of interest (, a particular trimmed mean, etc.)
  2. The population distribution (normal with and , uniform with lower limit and upper limit , etc.)
  3. The sample size (e.g., or )
  4. The number of replications (number of samples to be obtained)

Then use appropriate software to obtain different random samples, each of size , from the designated population distribution. For each sample, calculate the value of the statistic and construct a histogram of the values. This histogram gives the approximate sampling distribution of the statistic. The larger the value of , the better the approximation will tend to be (the actual sampling distribution emerges as ). In practice, or is usually sufficient if the statistic is “fairly simple.”

EXAMPLE 5.23

EXAMPLE 5.24