What do we know

Case 1: Confidence Interval on $\mu$ with known $\sigma^2$

Given $\sigma^2$, and $n$ of a random sample with mean $\bar x$, (the population is not required to be normal since CLT can be applied) a $100(1-\alpha)\%$ confidence interval for $\mu$ is given by

$$ \bar X-z_{\alpha / 2}\frac{\sigma}{\sqrt n } \lt \mu \lt\bar X+z_{\alpha / 2}\frac{\sigma}{\sqrt n } $$

Case 2: One-sided confidence bounds on $\mu$ with known $\sigma^2$

Given $\sigma^2$, and $n$ of a random sample with mean $\bar x$, (the population is not required to be normal since CLT can be applied) a one-sided $100(1-\alpha)\%$ confidence bound for $\mu$ is given by

$$ \begin{align*} \mu \lt \bar X + z_\alpha\frac{\sigma}{\sqrt n},\ &upper \\ \mu \gt \bar X - z_\alpha\frac{\sigma}{\sqrt n}, \ &lower \end{align*} $$

Note: the β€œ+” and β€œ-” are different.

Case 3: Confidence Interval on $\mu$, with unknown $\sigma^2$

If we don’t have $\sigma$, we can’t use the $Z = \frac{\bar X - \mu}{\sigma / \sqrt n}$ (standard normal distribution) stuff. However, if we get $S$ instead, we cant use the $T=\frac{\bar X - \mu}{S / \sqrt n}$ stuff. However, it requires a normal population.

Given $n$ and $s$ of a random sample from a normal population with mean $\bar x$, where $n < 30$, a one-sided $100(1-\alpha)\%$ confidence bound for $\mu$ is given by

$$ \bar X -t_{\alpha / 2}\frac{S}{\sqrt n}\lt \mu \lt \bar X +t_{\alpha / 2}\frac{S}{\sqrt n} $$

Example 1 (two-sided)

Untitled

Analysis

Untitled

$\sigma=0.3$ is given

Task is to fine the minimum $n$ to satisfy 95%+ confidence with 0.05- error

Solution

Example 2 (two-sided)

Untitled

Analysis

Untitled

$\bar x=2.6$, $\sigma=0.3​$$\sigma=0.3$$n=36$ are given

We need to find the $\mu$ located in 95% and 99% confident intervals.

Solution

Example 3 (one-sided)

Untitled