Difference between revisions of "Confidence interval"
(Created page with "A 95 per cent confident for a population mean looks like. <math>\huge \mu = {\bar x}\pm1.96\frac{\sigma}{\sqrt n}</math> <html> <img src="/static/files/MBI/Module%207/stdnorm...") |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
A 95 per cent confident for a population mean looks like. | A 95 per cent confident for a population mean looks like. | ||
| − | <math> | + | <math>\mu = {\bar x}\pm1.96\frac{\sigma}{\sqrt n}</math> |
<html> | <html> | ||
<img src="/static/files/MBI/Module%207/stdnormaldist.jpg" width=500 | <img src="/static/files/MBI/Module%207/stdnormaldist.jpg" width=500 | ||
| Line 8: | Line 8: | ||
In practice we seldom know that <math>\sigma</math> is known. Therefore most of the times an estimate of standard deviation in the sample <math>s</math> (sometimes denoted as <math>\Large\hat\sigma</math>) is used: | In practice we seldom know that <math>\sigma</math> is known. Therefore most of the times an estimate of standard deviation in the sample <math>s</math> (sometimes denoted as <math>\Large\hat\sigma</math>) is used: | ||
| − | <math> | + | <math>\mu = {\bar x}\pm z\frac{s}{\sqrt n}</math> |
If we use: | If we use: | ||
| − | <math> | + | <math>e=z \frac {s}{\sqrt n}</math> |
We can make a conclusion on determining the minimum sample size given a requested error level and confidence level:: | We can make a conclusion on determining the minimum sample size given a requested error level and confidence level:: | ||
| − | <math> | + | <math>n=(\frac {zs}{e})^2</math> |
Adding up confidence intervals for the difference of means is given by: | Adding up confidence intervals for the difference of means is given by: | ||
| − | <math> | + | <math>(\mu_1 - \mu_2) = (\bar{x_1} - \bar{x_2}) \pm \sqrt{(\frac{s_1^2}{n_1^2}+\frac{s_2^2}{n_2^2})}</math> |
When the sample size comes closer to the population size, the error will become smaller. Using the ''finite population correction factor'' this can be taken into account: | When the sample size comes closer to the population size, the error will become smaller. Using the ''finite population correction factor'' this can be taken into account: | ||
| − | <math> | + | <math>\sqrt {(1-\frac {n}{N})}</math> |
So corrected with the finite population correction factor a 95 per cent confident for a population mean looks like: | So corrected with the finite population correction factor a 95 per cent confident for a population mean looks like: | ||
| − | <math> | + | <math>\mu = {\bar x}\pm 1.96 \sqrt {(1-\frac {n}{N})} \frac{s}{\sqrt n}</math> |
The [[T-distribution|T-distribution]] can be used instead of the Normal distribution when defining confidence intervals when sample size is small or the standard deviation is unknown. | The [[T-distribution|T-distribution]] can be used instead of the Normal distribution when defining confidence intervals when sample size is small or the standard deviation is unknown. | ||
Latest revision as of 19:54, 27 August 2020
A 95 per cent confident for a population mean looks like.

In practice we seldom know that is known. Therefore most of the times an estimate of standard deviation in the sample (sometimes denoted as Failed to parse (unknown function "\Large"): {\displaystyle \Large\hat\sigma} ) is used:
If we use:
We can make a conclusion on determining the minimum sample size given a requested error level and confidence level::
Adding up confidence intervals for the difference of means is given by:
When the sample size comes closer to the population size, the error will become smaller. Using the finite population correction factor this can be taken into account:
So corrected with the finite population correction factor a 95 per cent confident for a population mean looks like:
The T-distribution can be used instead of the Normal distribution when defining confidence intervals when sample size is small or the standard deviation is unknown.
Part of M7-Quantitative Decision Methods-S3 - Normal Distribution and confidence intervals