6-1. The Mean and Standard Deviation of the Sample Mean

样本均值

Suppose we wish to estimate the mean μμ of a population.

In actual practice we would typically take just one sample.

Imagine however that we take sample after sample, all of the same size n,n, and compute the sample mean xˉ\bar{x} of each one.

We will likely get a different value of xˉ\bar{x} each time.

The sample mean xˉ\bar{x} is a random variable: it varies from sample to sample in a way that cannot be predicted with certainty.

We will write Xˉ\bar{X} when the sample mean is thought of as a random variable, and write xˉ\bar{x} for the values that it takes.

The random variable Xˉ\bar{X} has a mean, denoted , and a standard deviation, denoted .

Here is an example with such a small population and small sample size that we can actually write down every single sample.

EXAMPLE 1. A rowing team consists of four rowers who weigh 152, 156, 160, and 164 pounds. Find all possible random samples with replacement of size two and compute the sample mean for each one. Use them to find the probability distribution, the mean, and the standard deviation of the sample mean Xˉ\bar{X} .

[ Solution ]

  • all possible samples

Mean and Variance of Sample Means

  • 7 possible sample means : {152, 154, 156, 158, 160, 162, 164}

  • probability distribution of the sample means : {1/16, 2/16, 3/16, 4/16, 3/16, 2/16, 1/16}

  • ΣxˉP(xˉ)\Sigma \bar{x}P(\bar{x}) = 158

  • Σxˉ2P(xˉ){ΣxˉP(xˉ)}2=249741582=10\Sigma \bar{x}^2P(\bar{x}) - \{\Sigma \bar{x}P(\bar{x}) \}^2 = 24974 - 158^2 = 10.

Mean and Variance of Population

  • population : {152, 156, 160, 164}

  • mean μ=158\mu = 158

  • variance σ2=20\sigma ^2 = 20

# 1. Mean and Variance of Sample Means

x <- c(152, 154, 156, 158, 160, 162, 164)
p <- c(1, 2, 3, 4, 3, 2, 1)/16

mu_x <- sum(x*p); mu_x
var_x <- sum(x^2 * p) - mu_x^2; var_x


# 2. Mean and Variance of Population

y <- c(152, 156, 160, 164)

mu_y <- sum(y)/length(y); mu_y
var_y <- sum(y^2)/length(y) - mu_y^2; var_y 

Suppose random samples of size n are drawn from a population with mean μ and standard deviation σ. The mean and standard deviation of the sample mean Xˉ\bar{X} satisfy

μXˉ=μμ_{\bar{X}}=μ   and   σXˉ=σnσ_{\bar{X}}=\frac{σ}{\sqrt{n}}

EXAMPLE 2. The mean and standard deviation of the tax value of all vehicles registered in a certain state are and Suppose random samples of size 100 are drawn from the population of vehicles. What are the mean and standard deviation of the sample mean Xˉ\bar{X}?

[ Solution ]

  • μXˉ=μ=13,525μ_{\bar{X}}=μ = 13,525

  • σXˉ=σn=4,180100=418σ_{\bar{X}}=\frac{σ}{\sqrt{n}} = \frac{4,180}{\sqrt{100}} = 418

n <- 100
mu <- 13525
si <- 4180

# 1. Mean of Sample Mean
mu_x <- mu; mu

# 2. Standard Deviation of Sample Mean
sig_x <- si / sqrt(n); sig_x

Last updated