Confidence Intervals For the Mean Flashcards
what are confidence intervals for?
statistical inference draws conclusions about a population or process based in sample data and gives a statement in probability terms of how much confidence we can place in conclusions.
confidence interval equation
sample value +/- (multiplier x standard error)
when the sigma is known for 95%
on average 95% of 95% confidence intervals contain the mean
mew is x bar +/- 1.96 sigma/ square root (n)
P(Z<1.96) is 0.975
P(Z>1.96) is 0.025
P(between -1.96 and 1.96) is 0.95
Z0.025 = 1.96 (2.5 is above and 2.5 is below)
what are aspects of confidence intervals
interval and confidence level
90% confidence interval when sigma is known
mew is x bar +/- 1.645 sigma/ square root (n)
P(Z<1.645) is 0.95
P(Z>1.645) is 0.05
P(between -1.645 and 1.645) is 0.90
Z0.05 = 1.645 (5% is above and 5% is below)
99% CI when sigma is known
mew is x bar +/- 2.5758 sigma/ square root (n)
Z0.01 = 2.5758 (0.5% is above and 0.5% is below)
general CI rule when sigma is known
100(1-a)% CI for mew is x bar +/- Za/2 . sigma/square root (n)
confidence interval using central limit theorum
The others assume population is normal. If not normal but n is large enough:
X bar is approx. normal so (x bar - mew)/(sigma/ square root (n)) - this is a test statistic and can then use the general CI
choosing sample size
want to know how many samples to take to achieve a certain accuracy (or error)
must know:
- what CI we want
- how accurate they want their CI to be eg. d=0.8
- population SD
n = ((Za/2 . sigma)/d) squared
confidence interval when sigma is unknown
without sigma, we cannot use normal distribution
use t distributions (longer tails, give larger confidence intervals making it harder to reject the null)
must assume the pop is normal
must estimate sample standard deviation (s)
degrees of freedom (df or r) are n-1
sample size (n) is taken from a normal distribution and gibes x bar, s then the 95% CI is
x bar +/- ta/2, n-1 . s/squareroot (n)
general CI when sigma is unknown
x bar +/- ta/2 . s/square root (n)