# Question: To obtain the sampling distribution of the difference between two

To obtain the sampling distribution of the difference between two sample means for independent samples, as stated in Key Fact 10.1 on page 394, we need to know that, for independent observations, the difference of two normally distributed variables is also a normally distributed variable. In this exercise, you are to perform a computer simulation to make that fact plausible.

a. Simulate 2000 observations from a normally distributed variable with a mean of 100 and a standard deviation of 16.

b. Repeat part (a) for a normally distributed variable with a mean of 120 and a standard deviation of 12.

c. Determine the difference between each pair of observations in parts (a) and (b).

d. Obtain a histogram of the 2000 differences found in part (c). Why is the histogram bell shaped?

a. Simulate 2000 observations from a normally distributed variable with a mean of 100 and a standard deviation of 16.

b. Repeat part (a) for a normally distributed variable with a mean of 120 and a standard deviation of 12.

c. Determine the difference between each pair of observations in parts (a) and (b).

d. Obtain a histogram of the 2000 differences found in part (c). Why is the histogram bell shaped?

**View Solution:**## Answer to relevant Questions

In this exercise, you are to perform a computer simulation to illustrate the sampling distribution of the difference between two sample means for independent samples, Key Fact 10.1 on page 394. a. Simulate 1000 samples of ...x1 = 10, s1 = 2.1, n1 = 15, x2 = 12, s2 = 2.3, n2 = 15 a. Two-tailed test, α = 0.05 b. 95% confidence interval We have provided summary statistics for independent simple random samples from two populations. In each case, ...Discuss the basic strategy for performing a hypothesis test to compare the means of two populations, based on independent samples Refer to Exercise 10.41 and find a 90% confidence interval for the difference between the mean reductions in PTH levels for fortified and unfortified orange juice. The formula for the pooled variance, s2p, is given on page 397. Show that, if the sample sizes, n1 and n2, are equal, then s2p is the mean of s21 and s22.Post your question