1 Sampling Distribution And Estimation

Statistics II · Unit 1 · 6 hrs

Sampling Distribution and Estimation

Exam-focused notes for Sampling Distribution and Estimation (Statistics II, STA215): what the TU syllabus asks and how it has actually been tested, with 12 solved past questions from this unit.

Sampling Distribution and Estimation in short

This chapter moves from describing a single sample to reasoning about the population it came from, building the sampling distributions, point and interval estimates, and sample size formulas that all later inferential techniques rely on.

Sampling Distribution and Estimation: notes

Sampling distribution

A sampling distribution is the probability distribution of a statistic (such as a mean, proportion, or variance) computed over every possible sample of a fixed size $n$ drawn from a population. It is distinct from the population distribution, which describes individual values in the population, and from a single sample's own data distribution. Because a statistic varies from sample to sample purely by chance, it behaves like a random variable with its own mean, variance, and shape, and the standard error is the name given to the standard deviation of a sampling distribution: it measures how much the statistic is expected to fluctuate from one sample to the next. Sampling distributions are the bridge between a single observed sample and a statement about the unknown population parameter, since every confidence interval and every hypothesis test is built directly on one.

Sampling distribution of mean and proportion

If a population has mean $\mu$ and variance $\sigma^2$, the sampling distribution of the sample mean $\bar{x}$ based on samples of size $n$ has $$E(\bar{x}) = \mu, \qquad V(\bar{x}) = \frac{\sigma^2}{n} \ \text{(infinite population, or sampling with replacement)}$$ so its standard error is $\sigma_{\bar{x}} = \dfrac{\sigma}{\sqrt{n}}$. When the population is finite of size $N$ and sampling is without replacement, a finite population correction applies: $$\sigma_{\bar{x}} = \frac{\sigma}{\sqrt{n}}\sqrt{\frac{N-n}{N-1}}$$ which shrinks the standard error as the sample becomes a larger fraction of the population. Similarly, for a population proportion $P$ (with $Q = 1-P$), the sampling distribution of the sample proportion $\hat{p} = \dfrac{X}{n}$, where $X$ is the number of successes in the sample, has $$E(\hat{p}) = P, \qquad V(\hat{p}) = \frac{PQ}{n}, \qquad \sigma_{\hat{p}} = \sqrt{\frac{PQ}{n}}$$ again with a finite population correction $\sqrt{\dfrac{N-n}{N-1}}$ multiplying the standard error when sampling without replacement from a finite population. In both cases the mean of the sampling distribution equals the population parameter, meaning $\bar{x}$ and $\hat{p}$ are unbiased, and the spread of the sampling distribution shrinks as $n$ grows.

Central Limit Theorem

The Central Limit Theorem (CLT) states that if random samples of size $n$ are drawn from any population with finite mean $\mu$ and finite variance $\sigma^2$, then as $n$ becomes large (a common working rule is $n \ge 30$), the sampling distribution of the sample mean $\bar{x}$ approaches a normal distribution $N!\left(\mu, \dfrac{\sigma^2}{n}\right)$, regardless of the shape of the parent population. This is what allows the standard normal table to be used for sample-mean problems even when the underlying population is skewed or unknown, and it is the theoretical justification for every large-sample confidence interval and test built later in this chapter.

Worked example. Response times logged from a large web service have population mean $\mu = 50$ ms and standard deviation $\sigma = 10$ ms. For a random sample of $n = 64$ requests, the standard error of the sample mean is $$\sigma_{\bar{x}} = \frac{10}{\sqrt{64}} = 1.25$$ By the CLT, $\bar{x} \sim N(50, 1.25^2)$ closely enough for the sample size, so the probability that the sample mean exceeds 52 ms is found by standardizing: $$Z = \frac{52-50}{1.25} = 1.6, \qquad P(\bar{x} > 52) = 1 - \Phi(1.6) = 1 - 0.9452 = 0.0548$$ so only about 5.5% of samples of size 64 would show a mean response time above 52 ms, even though individual request times themselves may be far more variable than this.

What this unit covers

  • Sampling distribution
  • sampling distribution of mean and proportion
  • Central Limit Theorem
  • Concept of inferential Statistics
  • Estimation
  • Methods of estimation
  • Properties of good estimator
  • Determination of sample size
  • Relationship of sample size with desired level of error
  • Problems and illustrative examples related to computer Science and IT

Estimation

2081 · 5 marks

Define confidence level in estimation. A quality control inspector collected a random sample of 400 tubes of toothpaste from the production line and found that 20 of the tubes had leaks from the tail end. Construct 96% confidence interval for the percentage of all the toothpaste tubes that had leakage and interpret the result. [5]

Show solved answer

Confidence Level in Estimation and Confidence Interval for a Proportion

Definition: Confidence Level

The confidence level $(1-\alpha)$ is the probability that the interval estimate constructed from sample data will contain the true population parameter. A 96% confidence level means that if repeated random samples were taken and an interval built from each, about 96% of those intervals would enclose the true population proportion.


Given Data

ItemValue
Sample size$n = 400$
Leaking tubes$X = 20$
Confidence level$1-\alpha = 0.96$
Significance level$\alpha = 0.04$

Step 1: Sample Proportion

$$p = \frac{X}{n} = \frac{20}{400} = 0.05, \qquad q = 1 - p = 0.95$$

Step 2: Critical Value

$$\frac{\alpha}{2} = 0.02 \Rightarrow Z_{\alpha/2} = 2.054 \approx 2.05$$

Step 3: Standard Error

$$S.E.(p) = \sqrt{\frac{pq}{n}} = \sqrt{\frac{0.05 \times 0.95}{400}} = \sqrt{\frac{0.0475}{400}} = \sqrt{0.00011875} = 0.010897$$

Step 4: Confidence Interval

$$p \pm Z_{\alpha/2}\cdot S.E.(p)$$

Margin of error: $$E = 2.054 \times 0.010897 = 0.02238$$

Lower limit: $$0.05 - 0.02238 = 0.02762$$

Upper limit: $$0.05 + 0.02238 = 0.07238$$

Step 5: Express as Percentage

$$\boxed{2.76% \leq P \leq 7.24%}$$

(Using $Z = 2.05$: $2.77%$ to $7.24%$; essentially the same.)


Interpretation

We are 96% confident that the true percentage of all toothpaste tubes with leakage from the tail end lies between approximately 2.76% and 7.24%. If the sampling procedure were repeated many times, about 96% of the resulting intervals would contain the true population proportion of leaking tubes.

Open this answer on its own page →

2079 · 5 marks

An effort to estimate the mean amount per customer for dinner at a major Atlanta restaurant, data were collected for a sample of 49 customers and sample mean is found at 24.80. Assume population standard deviation is 5. a. Compute standard error of mean. b. Find 95% confidence interval estimate for the population mean. [5]

Show solved answer

Confidence Interval Estimate for Population Mean

Given

ParameterValue
Sample size ($n$)49
Sample mean ($\bar{x}$)24.80
Population standard deviation ($\sigma$)5
Confidence level95%

Since $\sigma$ is known, we use the Z-distribution.


Solution

Part (a): Standard Error of the Mean

$$SE = \frac{\sigma}{\sqrt{n}} = \frac{5}{\sqrt{49}} = \frac{5}{7} = 0.7143$$

$$\boxed{SE \approx 0.714}$$


Part (b): 95% Confidence Interval

Step 1: Z value

For 95% confidence:

  • $\alpha = 0.05$, so $\alpha/2 = 0.025$
  • $Z_{0.025} = 1.96$

Step 2: Margin of error

$$E = Z_{\alpha/2} \cdot \frac{\sigma}{\sqrt{n}} = 1.96 \times 0.7143 = 1.4000$$

Step 3: Confidence interval

$$\text{Lower} = \bar{x} - E = 24.80 - 1.40 = 23.40$$

$$\text{Upper} = \bar{x} + E = 24.80 + 1.40 = 26.20$$

$$\boxed{23.40 \leq \mu \leq 26.20}$$


Conclusion

  • Standard error of the mean $= 0.714$
  • 95% confidence interval for the population mean $$= $23.40$$ to $$$26.20$$

We are 95% confident that the true mean dinner amount per customer lies between $23.40 and $26.20.

Open this answer on its own page →

2078 · 5 marks

A survey was conducted among 70 students studying B.Sc. CSIT in some colleges randomly. Among them, 50 students secured more than 80% marks in statistics. Compute 99% and 95% confidence intervals for the population proportion of students who secured more than 80% marks in subject statistics, and comment on the results. [5]

Show solved answer

Confidence Interval for Population Proportion

Given

ParameterValue
Sample size $n$70
Students scoring > 80% ($X$)50
Sample proportion $p = X/n$$50/70 = 0.7143$
$q = 1 - p$$0.2857$
$Z$ for 99%$2.576$
$Z$ for 95%$1.96$

All required data present.

Solution

Standard Error

$$S.E.(p) = \sqrt{\frac{pq}{n}} = \sqrt{\frac{0.7143 \times 0.2857}{70}}$$

$$= \sqrt{\frac{0.2041}{70}} = \sqrt{0.002916} = 0.0540$$

99% Confidence Interval

$$CI = p \pm Z \cdot S.E. = 0.7143 \pm 2.576 \times 0.0540$$

Margin $= 2.576 \times 0.0540 = 0.1391$

$$0.7143 - 0.1391 = 0.5752, \quad 0.7143 + 0.1391 = 0.8534$$

$$\boxed{0.5752 \leq P \leq 0.8534}$$

95% Confidence Interval

$$CI = 0.7143 \pm 1.96 \times 0.0540$$

Margin $= 1.96 \times 0.0540 = 0.1058$

$$0.7143 - 0.1058 = 0.6085, \quad 0.7143 + 0.1058 = 0.8201$$

$$\boxed{0.6085 \leq P \leq 0.8201}$$

Summary Table

Confidence LevelZMarginLowerUpper
99%2.5760.13910.57520.8534
95%1.960.10580.60850.8201

Comment

  • We are 99% confident the true proportion lies between 57.52% and 85.34%.
  • We are 95% confident the true proportion lies between 60.85% and 82.01%.
  • The 99% interval is wider than the 95% interval, since higher confidence requires a larger margin. Thus higher confidence gives lower precision.
Open this answer on its own page →

2077 · 5 marks

A machine produce metal rods used in an automobile suspension system. A random sample of 6 rods is selected and diameter is measured. The measuring data (in millimeters) are as follows. Assuming that the sample drawn from the normally distributed population. Find 95% two sided confidence interval on the mean rod diameter, and interpret the result with reference to the given problem.

8.248.268.208.288.218.23

[5]

  • Sample size: $n = 6$ - Data (mm): $8.24, 8.26, 8.20, 8.28, 8.21, 8.23$ - Population: normally distributed - Population standard deviation $\sigma$: unknown - Confidence level: $95%$, so $\alpha = 0.05$ Since $\sigma$ is unknown and $n$ is small, use the t-distribution with $n-1 = 5$ degrees of...
Open this answer on its own page →

2075 · 5 marks

A manufacturer of computer paper has a production process that operates continuously throughout an entire production shift. The paper is expected to have an average length of 11 inches and standard deviation is known to be 0.01 inch. Suppose random sample of 100 sheets is selected and the average paper length is found to be 10.68 inches. Set up 95% and 90% confidence interval estimate of the population average paper length. [5]

Parameter Value ------------------ Expected/target mean 11 inches (target, not used in CI) Population standard deviation ($\sigma$) 0.01 inch Sample size ($n$) 100 Sample mean ($\bar{X}$) 10.68 inches Since $\sigma$ is known and $n = 100$ (large), we use the Z-distribution. --- Standard Error: $$...

Open this answer on its own page →

Central Limit Theorem

2081 · 5 marks

Write short note on: a) Central limit theorem. b) Determination of required sample size to estimate population proportion. [5]

--- The Central Limit Theorem states that if a sufficiently large random sample of size n is drawn from any population (regardless of its shape) with population mean μ and population standard deviation σ, then the sampling distribution of the sample mean (X̄) approaches a normal distribution as t...

Open this answer on its own page →

2080 · 5 marks

Define Central limit theorem. The life of a certain brand of an electric bulb may be considered a random variable with mean 1350 hours and standard deviation 550 hours. Using central limit theorem, find the probability that the average life time of 100 bulbs exceeds 1440 hours. [5]

Given data: - Population mean: $\mu = 1350$ hours - Population standard deviation: $\sigma = 550$ hours - Sample size: $n = 100$ bulbs - Value tested: $\bar{X} = 1440$ hours - Required: $P(\bar{X} 1440)$ The Central Limit Theorem (CLT) states that if random samples of size $n$ are drawn from a po...

Open this answer on its own page →

Determination of sample size

2080 · 5 marks

What do you understand by estimation? If we want to determine average mechanical aptitude of a large group of workers, how large a random sample is needed to be able to assert with probability 0.95 that the sample mean will not differ from the true mean by more than 2.0 points? Assume that population standard deviation is 30. [5]

Parameter Value ------------------ Confidence level $(1-\alpha)$ 0.95 Maximum allowable error $(E)$ 2.0 points Population standard deviation $(\sigma)$ 30 Critical value $Z{\alpha/2}$ at 95% 1.96 Estimation is the statistical procedure of using sample data to infer or approximate the unknown valu...

Open this answer on its own page →

2077 · 5 marks

A study of 1000 computer engineers conducted by their professional organization reported that 300 stated that their firms’ greatest concern was to uplift the professional quality of work. In order to conduct a follow up study to estimate the population proportion of computer engineers to fulfill their greatest concern within ±0.01 with 99% confidence interval, how many computer engineers would be required to be surveyed? [5]

Parameter Value ------------------ Preliminary sample size $n0 = 1000$ Number with greatest concern $X = 300$ Sample proportion $\hat{p} = 300/1000 = 0.30$ Margin of error $E = 0.01$ Confidence level $99%$ --- Step 1: Determine p and q $$p = 0.30, \quad q = 1 - p = 0.70$$ Step 2: Z value for 99%...

Open this answer on its own page →

2075 · 5 marks

Determine the minimum sample size required so that the sample estimate lies within 10% of the true value 95% level of confidence, when coefficient of variation is 60% [5]

Parameter Value ------------------ Allowable relative error, $e$ 10% of true value = 0.10 Confidence level 95% Coefficient of variation, $CV$ 60% = 0.60 Formula For estimating the mean within a relative error $e$ (fraction of the true mean): $$n = \left(\frac{Z{\alpha/2}\cdot \sigma}{\mu \cdot e}...

Open this answer on its own page →

sampling distribution of mean and proportion

2078 · 10 marks

Explain the sample distribution of mean with reference to some numerical example. Illustrate the practical implications of the Central Limit Theorem (CLT) in inferential statistics.[10]

When all possible random samples of size n are drawn from a population of size N, and the mean of each sample is computed, the probability distribution formed by these sample means is called the sampling distribution of the sample mean. Let a population have: - Population mean = μ - Population st...

Open this answer on its own page →

2077 · 10 marks

Describe the concept of sampling distribution of mean with reference to the population data (20, 21, 22 & 23) of size 4. In order to explain this, perform simple random sampling with replacement taking all possible samples with sample size n = 2. While describing the sampling distribution following issues will be covered: a. population mean & population variance, and its distribution b. Sample mean & sample variance, and its distribution c. Comparison of population mean and sample mean; population variance and sample variance; population distribution and sampling distribution based on the given data. d. Standard error of mean e. Final comments based on your result[10]

  • Population values: $X = {20, 21, 22, 23}$ - Population size: $N = 4$ - Sampling: Simple Random Sampling With Replacement (SRSWR) - Sample size: $n = 2$ - All possible samples taken All required data present. --- $$\mu = \frac{\sum X}{N} = \frac{20+21+22+23}{4} = \frac{86}{4} = 21.5$$ $X$
Open this answer on its own page →