# Question: In this exercise you are to perform a computer simulation

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 size 12 from a normally distributed variable with a mean of 640 and a standard deviation of 70.

Obtain the sample mean of each of the 1000 samples.

b. Simulate 1000 samples of size 15 from a normally distributed variable with a mean of 715 and a standard deviation of 150.

Obtain the sample mean of each of the 1000 samples.

c. Obtain the difference, x1 − x2, for each of the 1000 pairs of sample means obtained in parts (a) and (b).

d. Obtain the mean, the standard deviation, and a histogram of the 1000 differences found in part (c).

e. Theoretically, what are the mean, standard deviation, and distribution of all possible differences, x1 − x2?

a. Simulate 1000 samples of size 12 from a normally distributed variable with a mean of 640 and a standard deviation of 70.

Obtain the sample mean of each of the 1000 samples.

b. Simulate 1000 samples of size 15 from a normally distributed variable with a mean of 715 and a standard deviation of 150.

Obtain the sample mean of each of the 1000 samples.

c. Obtain the difference, x1 − x2, for each of the 1000 pairs of sample means obtained in parts (a) and (b).

d. Obtain the mean, the standard deviation, and a histogram of the 1000 differences found in part (c).

e. Theoretically, what are the mean, standard deviation, and distribution of all possible differences, x1 − x2?

## Answer to relevant Questions

Regarding the four conditions required for using the pooled t-procedures: a. What are they? b. How important is each condition? x1 = 10, s1 = 4, n1 = 15, x2 = 12, s2 = 5, 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, use ...In the paper "The Relation of Sex and Sense of Direction to Spatial Orientation in an Unfamiliar Environment" (Journal of Environmental Psychology, Vol. 20, pp. 17-28), J. Sholl et al. published the results of examining the ...Refer to Exercise 10.42 and determine a 95% confidence interval for the difference between last year's mean VMTs by midwestern and southern households. In this exercise, you are to perform a computer simulation to illustrate the distribution of the pooled t-statistic, given in Key Fact 10.2 on page 397. a. Simulate 1000 random samples of size 4 from a normally distributed ...Post your question