Fredholm operator: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Mgkrupa
→‎References: Added {{Functional Analysis}} footer
Dehumanised
 
Line 1: Line 1:
{{see also|Confidence distribution}}


In [[statistics]], a '''confidence interval''' ('''CI''') is a type of [[interval estimation|interval estimate]] of a [[population parameter]] and is used to indicate the reliability of an estimate. It is an observed interval (i.e. it is calculated from the observations), in principle different from sample to sample, that frequently includes the parameter of interest if the experiment is repeated. How frequently the observed interval contains the parameter is determined by the '''confidence level''' or '''confidence coefficient'''. More specifically, the meaning of the term "confidence level" is that, if confidence intervals are constructed across many separate data analyses of repeated (and possibly different) experiments, the proportion of such intervals that contain the true value of the parameter will match the confidence level; this is guaranteed by the reasoning underlying the construction of confidence intervals.<ref name=CH/><ref name=KS/><ref name=Neyman/> Whereas two-sided confidence limits form a confidence interval, their one-sided counterparts are referred to as lower or upper confidence bounds.


Confidence intervals consist of a range of values (interval) that act as good estimates of the unknown population parameter. However, in infrequent cases, none of these values may cover the value of the parameter. The level of confidence of the confidence interval would indicate the probability that the confidence range captures this true population parameter given a distribution of samples. It does not describe any single sample. This value is represented by a percentage, so when we say, "we are 99% confident that the true value of the parameter is in our confidence interval", we express that 99%  of the observed confidence intervals will hold the true value of the parameter. After a sample is taken, the population parameter is either in the interval made or not; it is not a matter of chance. The desired level of confidence is set by the researcher (not determined by data). If a corresponding hypothesis test is performed, the confidence level is the complement of respective level of significance, i.e. a 95% confidence interval reflects a significance level of 0.05.{<ref>{{cite book|last=Field|first=Andy|title=Discovering statistics using SPSS|year=2013|publisher=SAGE|location=London}}</ref>} The confidence interval contains the parameter values that, when tested, should not be rejected with the same sample. Greater levels of variance yield larger confidence intervals, and hence less precise estimates of the parameter. Confidence intervals of difference parameters not containing 0 imply that there is a [[Statistical significance|statistically significant]] difference between the populations.
Eusebio is the name women and men use to call my home and I think getting this done sounds quite good when you say it. Idaho is our birth internet site. I second-hand to be unemployed yet still now I am a major cashier. My friends say it's not incredibly good for me but what I love doing will to bake but I'm just thinking on starting something [http://search.un.org/search?ie=utf8&site=un_org&output=xml_no_dtd&client=UN_Website_en&num=10&lr=lang_en&proxystylesheet=UN_Website_en&oe=utf8&q=mroe+challenging&Submit=Go mroe challenging]. I'm not good at web design but you might desire to check my website: http://[http://Www.Dict.cc/?s=prometeu.net prometeu.net]<br><br>Look into my site [http://prometeu.net clash of clans hack free]
 
In applied practice, confidence intervals are typically stated at the 95% confidence level.<ref>Zar, J.H. (1984) ''Biostatistical Analysis.'' Prentice Hall International, New Jersey. pp 43–45</ref> However, when presented graphically, confidence intervals can be shown at several confidence levels, for example 50%, 95% and 99%. 
 
Certain factors may affect the confidence interval size including size of sample, level of confidence, and population variability. A larger sample size normally will lead to a better estimate of the population parameter.
<!--Not correct
due to the Central Limit Theorem, which states that the sum of enough random, independent events will eventually become normal. This normal distribution's sample mean will be closer to the population mean and will reduce the width of a confidence interval creating a better estimate.
-->
 
A confidence interval does ''not'' predict that the true value of the parameter has a particular probability of being in the confidence interval given the data actually obtained. Intervals with this property, called [[credible intervals]], exist only in the paradigm of [[Bayesian statistics]], as they require postulation of a [[prior distribution]] for the parameter of interest.
 
==Conceptual basis==
 
[[File:Confidenceinterval.png|thumb|200px|In this [[bar chart]], the top ends of the bars indicate observation [[mean]]s and the red [[line segment]]s represent the confidence intervals surrounding them. Although the bars are shown as symmetric in this chart, they do not have to be symmetric.]]
 
===Introduction===
 
[[Interval estimate]]s can be contrasted with [[point estimate]]s.  A point estimate is a single value given as the estimate of a population parameter that is of interest, for example the mean of some quantity.  An interval estimate specifies instead a range within which the parameter is estimated to lie.  Confidence intervals are commonly reported in tables or graphs along with  point estimates of the same parameters, to show the reliability of the estimates.
 
For example, a confidence interval can be used to describe how reliable survey results are. In a poll of election voting-intentions, the result might be that 40% of respondents intend to vote for a certain party. A 95% <!--this number is correct, do not change!-->confidence interval for the proportion in the whole population having the same intention on the survey might be 36% to 44%. From the same data one may calculate a 90% <!--this number is correct, do not change!-->confidence interval, which in this case might be 38% to 42%. A major factor determining the length of a confidence interval is the [[Sample size|size of the sample]] used in the estimation procedure, for example the number of people taking part in a survey.
 
===Meaning and interpretation===
 
For users of frequentist methods, various interpretations of a confidence interval can be given.
 
*The confidence interval can be expressed in terms of samples (or repeated samples): "''Were this procedure to be repeated on multiple samples, the calculated confidence interval (which would differ for each sample) would encompass the true population parameter 90% of the time."''<ref name=CH/> Note that this does not refer to repeated measurement of the same sample, but repeated sampling.<ref name=KS/>
*The confidence interval can be expressed in terms of a single sample: "''There is a 90% probability that the calculated confidence interval encompasses the true value of the population parameter."'' Note this is a probability statement about the confidence interval, not the population parameter. This considers the probability associated with a confidence interval from a pre-experiment point of view, in the same context in which arguments for the random allocation of treatments to study items are made. Here the experimenter sets out the way in which they intend to calculate a confidence interval and know, before they do the actual experiment, that the interval they will end up calculating has a certain chance of covering the true but unknown value.<ref name=Neyman/> This is very similar to the "repeated sample" interpretation above, except that it avoids relying on considering hypothetical repeats of a sampling procedure that may not be repeatable in any meaningful sense. See [[Neyman construction]].
*The explanation of a confidence interval can amount to something like: "''The confidence interval represents values for the population parameter for which the difference between the parameter and the observed estimate is not [[statistically significant]] at the 10% level''".<ref>Cox D.R., Hinkley D.V. (1974) Theoretical Statistics, Chapman & Hall, p214, 225, 233</ref> In fact, this relates to one particular way in which a confidence interval may be constructed.
 
In each of the above, the following applies: If the true value of the parameter lies outside the 90% confidence interval once it has been calculated, then an event has occurred which had a probability of 10% (or less) of happening by chance.
 
====Philosophical issues====
 
The principle behind confidence intervals was formulated to provide an answer to the question raised in [[statistical inference]] of how to deal with the uncertainty inherent in results derived from data that are themselves only a randomly selected subset of a population. There are other answers, notably that provided by [[Bayesian inference]] in the form of [[credible intervals]]. Confidence intervals correspond to a chosen rule for determining the confidence bounds, where this rule is essentially determined before any data are obtained, or before an experiment is done. The rule is defined such that over all possible datasets that might be obtained, there is a high probability ("high" is specifically quantified) that the interval determined by the rule will include the true value of the quantity under consideration. That is a fairly straightforward and reasonable way of specifying a rule for determining uncertainty intervals. The Bayesian approach appears to offer intervals that can, subject to acceptance of an interpretation of "probability" as [[Bayesian probability]], be interpreted as meaning that the specific interval calculated from a given dataset has a certain probability of including the true value, conditional on the data and other information available. The confidence interval approach does not allow this, since in this formulation and at this same stage, both the bounds of interval and the true values are fixed values and there is no randomness involved.
 
For example, in the poll example outlined in the introduction, to be 95% confident that the actual number of voters intending to vote for the party in question is between 36% and 44%, should not be interpreted in the common-sense interpretation that there is a 95% probability that the actual number of voters intending to vote for the party in question is between 36% and 44%. The actual meaning of confidence levels and confidence intervals is rather more subtle. In the above case, a correct interpretation would be as follows: If the polling were repeated a large number of times (you could produce a 95% confidence interval for your polling confidence interval), each time generating about a 95% confidence interval from the poll sample, then 95% of the generated intervals would contain the true percentage of voters who intend to vote for the given party. Each time the polling is repeated, a ''different'' confidence interval is produced; hence, it is not possible to make absolute statements about probabilities for any one given interval. For more information, see the section on [[#Meaning and interpretation|meaning and interpretation]].
 
The questions concerning how an interval expressing uncertainty in an estimate might be formulated, and of how such intervals might be interpreted, are not strictly mathematical problems and are philosophically problematic.<ref>T. Seidenfeld, ''Philosophical Problems of Statistical Inference: Learning from R.A. Fisher'', Springer-Verlag, 1979</ref> Mathematics can take over once the basic principles of an approach to inference have been established, but it has only a limited role{{Or|date=November 2011}} in saying why one approach should be preferred to another.{{citation needed|date=November 2011}}.
 
===Relationship with other statistical topics===
 
====Statistical hypothesis testing====
Confidence intervals are closely related to statistical [[statistical hypothesis testing|significance testing]]. For example, if for some estimated parameter ''θ'' one wants to test the [[null hypothesis]] that ''θ''&nbsp;=&nbsp;0 against the alternative that ''θ''&nbsp;≠&nbsp;0, then this test can be performed by determining whether the confidence interval for ''θ'' contains 0.
 
More generally, given the availability of a hypothesis testing procedure that can test the null hypothesis ''θ''&nbsp;=&nbsp;''θ''<sub>0</sub> against the alternative that ''θ''&nbsp;≠&nbsp;''θ''<sub>0</sub> for any value of ''θ''<sub>0</sub>, then a confidence interval with confidence level&nbsp;''γ''&nbsp;=&nbsp;1&nbsp;−&nbsp;''α'' can be defined as containing any number ''θ''<sub>0</sub> for which the corresponding null hypothesis is not rejected at significance level&nbsp;''α''.<ref name=CH7>Cox D.R., Hinkley D.V. (1974) Theoretical Statistics, Chapman & Hall, Section 7.2(iii)</ref>
 
In consequence,{{clarify|date=November 2010}} if the estimates of two parameters (for example, the mean values of a variable in two independent groups of objects) have confidence intervals at a given ''γ'' value that do not overlap, then the difference between the two values is [[statistical significance|significant]] at the corresponding value of ''α''.  However, this test is too conservative and can lead to erroneous rejection of a result that is significant at ''α''. If two confidence intervals overlap, the two means still may be significantly different.<ref name="gh95">{{cite journal | last1 = Goldstein | first1 = H. | last2 = Healey | first2 = M.J.R. | year = 1995 | title = The graphical presentation of a collection of means | url = http://www.jstor.org/stable/view/2983411 | journal = Journal of the Royal Statistical Society | volume = 158 | issue = | pages = 175–77 }}</ref><ref>{{cite journal |author=Wolfe R, Hanley J |title=If we're so different, why do we keep overlapping? When 1 plus 1 doesn't make 2 |journal=CMAJ |volume=166 |issue=1 |pages=65–6 |date=Jan 2002 |pmid=11800251 |pmc=99228 |doi= |url=http://www.cmaj.ca/cgi/pmidlookup?view=long&pmid=11800251}}</ref>
 
While the formulations of the notions of confidence intervals and of [[statistical hypothesis testing]] are distinct they are in some senses related and to some extent complementary. While not all confidence intervals are constructed in this way, one general purpose approach to constructing confidence intervals is to define a 100(1&nbsp;−&nbsp;''α'')% confidence interval to consist of all those values ''θ''<sub>0</sub> for which a test of the hypothesis ''θ''&nbsp;=&nbsp;''θ''<sub>0</sub> is not rejected at a significance level of 100α%. Such an approach may not always be available since it presupposes the practical availability of an appropriate significance test. Naturally, any assumptions required for the significance test would carry over to the confidence intervals.
 
It may be convenient to make the general correspondence that parameter values within a confidence interval are equivalent to those values that would not be rejected by a hypothesis test, but this would be dangerous. In many instances the confidence intervals that are quoted are only approximately valid, perhaps derived from "plus or minus twice the standard error", and the implications of this for the supposedly corresponding hypothesis tests are usually unknown.
 
It is worth noting that the confidence interval for a parameter is not the same as the acceptance region of a test for this parameter, as is sometimes thought. The confidence interval is part of the parameter space, whereas the acceptance region is part of the sample space. For the same reason the confidence level is not the same as the complementary probability of the level of significance.{{elucidate|date=November 2013}}
 
====Confidence region====
{{main|Confidence region}}
[[Confidence region]]s generalize the confidence interval concept to deal with multiple quantities. Such regions can indicate not only the extent of likely [[sampling error]]s but can also reveal whether (for example) it is the case that if the estimate for one quantity is unreliable then the other is also likely to be unreliable.
 
====Confidence band====
{{main|Confidence band}}
{{empty section|date=February 2013}}
 
==Statistical theory==
 
===Definition===
 
Let ''X'' be a  [[random sample]] from a [[probability distribution]] with [[statistical parameter]]s ''θ'', which is a quantity to be estimated, and ''φ'', representing quantities that are not of immediate interest. A ''confidence interval'' for the parameter ''θ'', with [[confidence level]] or [[confidence coefficient]] ''γ'', is an interval with random endpoints (''u''(''X''),&nbsp;''v''(''X'')), determined by the  pair of [[random variable]]s ''u''(''X'') and ''v''(''X''),  with the property:
: <math>{\Pr}_{\theta,\varphi}(u(X)<\theta<v(X))=\gamma\text{ for all }(\theta,\varphi).</math>
 
The quantities ''φ'' in which there is no immediate interest are called [[nuisance parameter]]s, as statistical theory still needs to find some way to deal with them.
The number ''γ'', with typical values close to but not greater than 1, is sometimes given in the form 1&nbsp;−&nbsp;''α'' (or as a percentage 100%·(1&nbsp;−&nbsp;''α'')), where ''α'' is a small non-negative number, close to 0.
 
Here Pr<sub>''θ'',''φ''</sub> indicates the [[probability distribution]] of ''X'' characterised by&nbsp;(''θ'',&nbsp;''φ'').  An important part of this specification is that the random interval (''u''(''X''),&nbsp;''v''(''X'')) covers the unknown value ''θ'' with a high probability no matter what the true value of ''θ'' actually is.
 
Note that here Pr<sub>''θ'',''φ''</sub> need not refer to an explicitly given parameterised family of distributions, although it often does. Just as the random variable ''X'' notionally corresponds to other possible realizations of ''x'' from the same population or from the same version of reality, the parameters (''θ'',&nbsp;''φ'') indicate that we need to consider other versions of reality in which the distribution of ''X'' might have different characteristics.
 
In a specific situation, when ''x'' is the outcome of the sample ''X'', the interval (''u''(''x''),&nbsp;''v''(''x'')) is also referred to as a confidence interval for ''θ''. Note that it is no longer possible to say that the (observed) interval (''u''(''x''),&nbsp;''v''(''x'')) has probability ''γ'' to contain the parameter ''θ''. This observed interval is just one realization of all possible intervals for which the probability statement holds.
 
====Approximate confidence intervals====
 
In many applications, confidence intervals that have exactly the required confidence level are hard to construct. But practically useful intervals can still be found: the rule for constructing the interval may be accepted as providing a confidence interval at level ''γ'' if
 
: <math>{\Pr}_{\theta,\phi}(u(X)<\theta<v(X))\approx\gamma\text{ for all }(\theta,\phi)\,</math>
 
to an acceptable level of approximation. Alternatively, some authors<ref>George G. Roussas (1997) A Course in Matheamtical Statistics, 2nd Edition, Academic Press, p397</ref> simply require that
 
: <math>{\Pr}_{\theta,\phi}(u(X)<\theta<v(X))\ge\gamma\text{ for all }(\theta,\phi)\,</math>
 
which is useful if the probabilities are only partially identified, or [[Imprecise probability|imprecise]].
 
===Desirable properties===
 
When applying standard statistical procedures, there will often be standard ways of constructing confidence intervals.  These will have been devised so as to meet certain desirable properties, which will hold given that the assumptions on which the procedure rely are true.  These desirable properties may be described as: validity, optimality and invariance. Of these "validity" is most important, followed closely by "optimality". "Invariance" may be considered as a property of the method of derivation of a confidence interval rather than of the rule for constructing the interval.  In non-standard applications, the same desirable properties would be sought.
 
* ''Validity.'' This means that the nominal coverage probability (confidence level) of the confidence interval should hold, either exactly or to a good approximation.
 
* ''Optimality.'' This means that the rule for constructing the confidence interval should make as much use of the information in the data-set as possible. Recall that one could throw away half of a dataset and still be able to derive a valid confidence interval. One way of assessing optimality is by the length of the interval, so that a rule for constructing a confidence interval is judged better than another if it leads to intervals whose lengths are typically shorter.
 
* ''Invariance.'' In many applications the quantity being estimated might not be tightly defined as such. For example, a survey might result in an estimate of the median income in a population, but it might equally be considered as providing an estimate of the logarithm of the median income, given that this is a common scale for presenting graphical results. It would be desirable that the method used for constructing a confidence interval for the median income would give equivalent results when applied to constructing a confidence interval for the logarithm of the median income: specifically the values at the ends of the latter interval would be the logarithms of the values at the ends of former interval.
 
===Methods of derivation===
 
For non-standard applications, there are several routes that might be taken to derive a rule for the construction of confidence intervals. Established rules for standard procedures might be justified or explained via several of these routes. Typically a rule for constructing confidence intervals is closely tied to a particular way of finding a [[point estimation|point estimate]] of the quantity being considered.
 
; [[Descriptive statistics]]
: This is closely related to the [[method of moments (statistics)|method of moments]] for estimation. A simple example arises where the quantity to be estimated is the mean, in which case a natural estimate is the sample mean. The usual arguments indicate that the sample variance can be used to estimate the variance of the sample mean. A naive confidence interval for the true mean can be constructed centered on the sample mean with a width which is a multiple of the square root of the sample variance.
; Likelihood theory
: Where estimates are constructed using the [[maximum likelihood principle]], the theory for this provides two ways of constructing confidence intervals or confidence regions for the estimates.{{Citation needed|date=February 2011}}
; Estimating equations
: The estimation approach here can be considered as both a generalization of the method of moments and a generalization of the maximum likelihood approach. There are corresponding generalizations of the results of maximum likelihood theory that allow confidence intervals to be constructed based on estimates derived from [[estimating equations]].{{Citation needed|date=February 2011}}
; Via [[significance testing]]
: If significance tests are available for general values of a parameter, then confidence intervals/regions can be constructed by including in the 100p% confidence region all those points for which the significance test of the null hypothesis that the true value is the given value is not rejected at a significance level of (1-p).<ref name=CH7/>
; [[Bootstrapping (statistics)|Bootstrapping]]
: In situations where the distributional assumptions for that above methods are uncertain or violated, resampling methods allow construction of confidence intervals or prediction intervals. The observed data distribution and the internal correlations are used as the surrogate for the correlations in the wider population.
 
==Examples==
 
===Practical example===
[[File:Margarinefilling.png|right]]A machine fills cups with a liquid, and is supposed to be adjusted so that the content of the cups is 250&nbsp;g of liquid. As the machine cannot fill every cup with exactly 250&nbsp;g, the content added to individual cups shows some variation, and is considered a random variable X. This variation is assumed to be [[normal distribution|normally distributed]] around the desired average of 250&nbsp;g, with a [[standard deviation]] of 2.5&nbsp;g. To determine if the machine is adequately calibrated, a sample of ''n''&nbsp;=&nbsp;25 cups of liquid are chosen at random and the cups are weighed. The resulting measured masses of liquid are ''X''<sub>1</sub>,&nbsp;...,&nbsp;''X''<sub>25</sub>, a random sample from&nbsp;''X''.
 
To get an impression of the expectation ''μ'', it is sufficient to give an estimate. The appropriate [[estimator]] is the sample mean:
 
: <math>\hat \mu=\bar X = \frac{1}{n}\sum_{i=1}^n X_i.</math>
 
The sample shows actual weights ''x''<sub>1</sub>,&nbsp;...,&nbsp;''x''<sub>25</sub>, with mean:
 
: <math>\bar x=\frac {1}{25} \sum_{i=1}^{25} x_i = 250.2\,\text{grams}.</math>
 
If we take another sample of 25 cups, we could easily expect to find mass values like 250.4 or 251.1&nbsp;grams. A sample mean value of 280&nbsp;grams however would be extremely rare if the mean content of the cups is in fact close to 250&nbsp;grams. There is a whole interval around the observed value 250.2&nbsp;grams of the sample mean within which, if the whole population mean actually takes a value in this range, the observed data would not be considered particularly unusual. Such an interval is called a confidence interval for the parameter&nbsp;''μ''. How do we calculate such an interval? The endpoints of the interval have to be calculated from the sample, so they are statistics, functions of the sample ''X''<sub>1</sub>,&nbsp;...,&nbsp;''X''<sub>25</sub> and hence random variables themselves.
 
In our case we may determine the endpoints by considering that the sample mean {{overbar|''X''}} from a normally distributed sample is also normally distributed, with the same expectation ''μ'', but with a [[Standard error (statistics)|standard error]] of:
 
: <math>\frac {\sigma}{\sqrt{n}}=\frac {2.5~\text{g}}{\sqrt{25}}=0.5\ \text{grams}</math>
 
By [[Standard score|standardizing]], we get a random variable:
 
: <math>Z = \frac {\bar X-\mu}{\sigma/\sqrt{n}} =\frac {\bar X-\mu}{0.5} </math>
 
dependent on the parameter ''μ'' to be estimated, but with a standard normal distribution independent of the parameter&nbsp;''μ''. Hence it is possible to find numbers −''z'' and ''z'', independent of&nbsp;''μ'', between which ''Z'' lies with probability 1&nbsp;−&nbsp;α, a measure of how confident we want to be.
 
We take 1&nbsp;−&nbsp;α = 0.95, for example. So we have:
 
:<math>\!P(-z\le Z\le z) = 1-\alpha = 0.95.</math>
 
The number ''z'' follows from the [[cumulative distribution function]], in this case the [[Normal distribution#Cumulative distribution function|cumulative normal distribution function]]:
 
:<math>
\begin{align}
\Phi(z) & = P(Z \le z) = 1 - \tfrac{\alpha}2 = 0.975,\\[6pt]
z & = \Phi^{-1}(\Phi(z)) = \Phi^{-1}(0.975) = 1.96,
\end{align}
</math>
 
and we get:
 
:<math>
\begin{align}
0.95 & = 1-\alpha=P(-z \le Z \le z)=P \left(-1.96 \le \frac {\bar X-\mu}{\sigma/\sqrt{n}} \le 1.96 \right) \\[6pt]
& = P \left( \bar X - 1.96 \frac{\sigma}{\sqrt{n}} \le \mu \le \bar X + 1.96 \frac{\sigma}{\sqrt{n}}\right)
\end{align}.
</math>
 
In other words, the lower endpoint of the 95% confidence interval is:
:<math>\text{Lower endpoint} = \bar X - 1.96 \frac{\sigma}{\sqrt{n}},</math>
and the upper endpoint of the 95% confidence interval is:
:<math>\text{Upper endpoint} = \bar X + 1.96 \frac{\sigma}{\sqrt{n}}.</math>
 
With the values in this example, the confidence interval is:
:<math>
\begin{align}
0.95 & = P\left(\bar X - 1.96 \times 0.5 \le \mu \le \bar X + 1.96 \times 0.5\right) \\[6pt]
& = P \left( \bar X - 0.98 \le \mu \le \bar X + 0.98 \right).
\end{align}
</math>
 
This might be interpreted as: with probability 0.95 we will find a confidence interval in which we will meet the parameter ''μ'' between the stochastic endpoints
 
:<math>\! \bar X - 0{.}98</math>
 
and
 
:<math>\! \bar X + 0.98.</math>
 
This does not mean that there is 0.95 probability of meeting the parameter ''μ'' in the interval obtained by using the currently computed value of the sample mean,
 
: <math> (\bar{x}-0.98,\, \bar{x}+0.98). </math>
 
Instead, every time the measurements are repeated, there will be another value for the mean&nbsp;{{overbar|''X''}} of the sample. In 95% of the cases ''μ'' will be between the endpoints calculated from this mean, but in 5% of the cases it will not be. The actual confidence interval is calculated by entering the measured masses in the formula. Our 0.95 confidence interval becomes:
 
: <math>(\bar x - 0.98;\bar x + 0.98) = (250.2 - 0.98; 250.2 + 0.98) = (249.22; 251.18).\,</math>
 
[[File:NYW-confidence-interval.svg|thumb|300px|The vertical [[line segment]]s represent 50 realizations of a confidence interval for ''μ''.]]
 
In other words, the 95% confidence interval is between the lower endpoint 249.22 g and the upper endpoint 251.18 g.
 
As the desired value 250 of ''μ'' is within the resulted confidence interval, there is no reason to believe the machine is wrongly calibrated.
 
The calculated interval has fixed endpoints, where μ might be in between (or not). Thus this event has probability either 0 or&nbsp;1. One '''cannot''' say:  "with probability (1&nbsp;−&nbsp;α) the parameter ''μ'' lies in the confidence interval." One only knows that by repetition in 100(1&nbsp;−&nbsp;α) % of the cases, ''μ'' will be in the calculated interval. In 100α% of the cases however it does not. And unfortunately one does not know in which of the cases this happens. That is why one can say: "with '''confidence level''' 100(1&nbsp;−&nbsp;α)&nbsp;%, ''μ''&nbsp;lies in the confidence interval."
 
The maximum error is calculated to be 0.98 since it is the difference between value that we are confident of with upper or lower endpoint.
 
The figure on the right shows 50 realizations of a confidence interval for a given population mean ''μ''. If we randomly choose one realization, the probability is 95% we end up having chosen an interval that contains the parameter; however we may be unlucky and have picked the wrong one. We will never know; we are stuck with our interval.
 
===Theoretical example===
Suppose {''X''<sub>1</sub>,&nbsp;...,&nbsp;''X''<sub>''n''</sub>} is an [[statistical independence|independent]] sample from a [[normal distribution|normally distributed]] population with ([[statistical parameters|parameters]]) [[mean]] ''μ'' and [[variance]] σ<sup>2</sup>. Let
 
: <math>\bar{X}=(X_1+\cdots+X_n)/n\,,</math>
 
: <math>S^2=\frac{1}{n-1}\sum_{i=1}^n\left(X_i-\bar{X}\,\right)^2.</math>
 
Where {{overbar|''X''}} is the [[sample mean]], and ''S<sup>2</sup>'' is the [[sample variance]]. Then
 
: <math>T=\frac{\bar{X}-\mu}{S/\sqrt{n}}</math>
 
has a [[Student's t-distribution]] with ''n'' − 1 degrees of freedom.<ref>Rees. D.G. (2001) ''Essential Statistics'', 4th Edition, Chapman and Hall/CRC. ISBN 1-58488-007-4 (Section 9.5)</ref>  Note that the distribution of ''T'' does not depend on the values of the unobservable parameters ''μ'' and ''σ''<sup>2</sup>; i.e., it is a [[pivotal quantity]].  Suppose we wanted to calculate a 95% confidence interval for&nbsp;''μ''. Then, denoting ''c'' as the 97.5th [[percentile]] of this distribution,
 
: <math>\Pr\left(-c\le T \le c\right)=0.95\,</math>
 
("97.5th" and "0.95" are correct in the preceding expressions. There is a 2.5% chance that ''T'' will be less than −''c'' and a 2.5% chance that it will be larger than +''c''. Thus, the probability that ''T'' will be between −''c'' and +''c'' is 95%.)
 
Consequently
 
: <math>\Pr\left(\bar{X} - \frac{cS}{\sqrt{n}} \le \mu \le \bar{X} + \frac{cS}{\sqrt{n}} \right)=0.95\,</math>
 
and we have a theoretical (stochastic) 95% confidence interval for&nbsp;''μ''.
 
After observing the sample we find values {{overbar|''x''}} for {{overbar|''X''}} and ''s'' for ''S'', from which we compute the confidence interval
 
: <math> \left[ \bar{x} - \frac{cs}{\sqrt{n}}, \bar{x} + \frac{cs}{\sqrt{n}} \right], \,</math>
 
an interval with fixed numbers as endpoints, of which we can no longer say there is a certain probability it contains the parameter&nbsp;''μ''; either ''μ'' is in this interval or isn't.
 
==Alternatives and critiques==
{{Main|Interval estimation}}
{{See also|Prediction interval|Tolerance interval|Credible interval}}
 
Confidence intervals are one method of [[interval estimation]], and the most widely used in [[frequentist statistics]].
An analogous concept in [[Bayesian statistics]] is [[credible interval]]s, while an alternative frequentist method is that of [[prediction interval]]s which, rather than estimating ''parameters,'' estimate the outcome of ''future'' samples. For other approaches to expressing uncertainty using intervals, see [[interval estimation]].
 
There is disagreement about which of these methods produces the most useful results: the mathematics of the computations are rarely in question–confidence intervals being based on sampling distributions, credible intervals being based on [[Bayes' theorem]]–but the application of these methods, the utility and interpretation of the produced statistics, is debated.
 
Users of Bayesian methods, if they produced an [[interval estimation|interval estimate]], would in contrast to confidence intervals, want to say "''My degree of ''belief'' that the parameter is in fact in this interval is 90%,''"<ref>Cox D.R., Hinkley D.V. (1974) Theoretical Statistics, Chapman & Hall, p390</ref> while users of prediction intervals would instead say "I ''predict'' that the ''next sample'' will fall in this interval 90% of the time."{{Citation needed|date=October 2010}}
 
===Comparison to prediction intervals===
 
 
A [[prediction interval]] for a [[random variable]] is defined similarly to a confidence interval for a [[statistical parameter]]. Consider an additional [[random variable]] ''Y'' which may or may not be statistically dependent on the [[random sample]] ''X''. Then (''u''(''X''),&nbsp;''v''(''X'')) provides a [[prediction interval]] for the as-yet-to-be observed value ''y'' of ''Y'' if
 
: <math>{\Pr}_{\theta,\phi}(u(X) < Y < v(X)) = \gamma\text{ for all }(\theta,\phi).\,</math>
 
Here Pr<sub>''θ'',''φ''</sub> indicates the joint [[probability distribution]] of  the random variables (''X'',&nbsp;''Y''), where this distribution depends on the [[statistical parameter]]s&nbsp;(''θ'',&nbsp;''φ'').
 
===Comparison to Bayesian interval estimates===
 
 
A Bayesian interval estimate is called a [[credible interval]]. Using much of the same notation as above, the definition of a credible interval for the unknown true value of ''θ'' is, for a given ''γ'',<ref>{{cite book |author=Bernardo JE, Smith, Adrian |title=Bayesian theory |publisher=Wiley |location=New York |year=2000 |pages=259 |isbn=0-471-49464-X |oclc= |doi= }}</ref>
 
: <math>\Pr(u(x)<\Theta<v(x) | X = x)=\gamma. \, </math>
 
Here Θ is used to emphasize that the unknown value of ''θ'' is being treated as a random variable. The definitions of the two types of intervals may be compared as follows.
* The definition of a confidence interval involves probabilities calculated from the distribution of ''X'' for given (''θ'',&nbsp;''φ'') (or conditional on these values) and the condition needs to hold for all values of&nbsp;(''θ'',&nbsp;''φ'').
* The definition of a credible interval involves probabilities calculated from the distribution of Θ conditional on the observed values of ''X''&nbsp;=&nbsp;''x'' and marginalised (or averaged) over the values of Φ, where this last quantity is the random variable corresponding to the uncertainty about the [[nuisance parameter]]s in&nbsp;''φ''.
 
Note that the treatment of the [[nuisance parameter]]s above is often omitted from discussions comparing confidence and credible intervals but it is markedly different between the two cases.
 
In some simple standard cases, the intervals produced as confidence and credible intervals from the same data set can be identical. They are very different if informative [[prior information]] is included in the [[Bayesian analysis]]; and may be very different for some parts of the space of possible data even if the Bayesian prior is relatively [[uninformative prior|uninformative]].
 
===Confidence intervals for proportions and related quantities===
 
{{see also|Margin of error|Binomial proportion confidence interval}}
 
An approximate confidence interval for a population mean can be constructed for random variables that are not normally distributed in the population, relying on the [[central limit theorem]], if the [[sample size]]s and counts are big enough.  The formulae are identical to the case above (where the sample mean is actually normally distributed about the population mean).  The approximation will be quite good with only a few dozen observations in the sample if the [[probability distribution]] of the random variable is not too different from the [[normal distribution]] (e.g. its [[cumulative distribution function]] does not have any [[Discontinuity (mathematics)|discontinuities]] and its [[skewness]] is moderate).
 
One type of sample mean is the mean of an [[indicator variable]], which takes on the value 1 for true and the value 0 for false. The mean of such a variable is equal to the proportion that have the variable equal to one (both in the population and in any sample). This is a useful property of [[indicator variable]]s, especially for hypothesis testing. To apply the [[central limit theorem]], one must use a large enough sample. A rough rule of thumb is that one should see at least 5 cases in which the indicator is 1 and at least 5 in which it is 0.  Confidence intervals constructed using the above formulae may include negative numbers or numbers greater than 1, but proportions obviously cannot be negative or exceed 1. Additionally, sample proportions can only take on a finite number of values, so the [[central limit theorem]] and the [[normal distribution]] are not the best tools for building a confidence interval. See "[[Binomial proportion confidence interval]]" for better methods which are specific to this case.
 
==See also==
* [[CLs upper limits]]
* [[Confidence band]]
* [[Binomial proportion confidence interval|Confidence interval for binomial distribution]]
* [[power law#Estimating the exponent from empirical data|Confidence interval for exponent of the Power law distribution]]
* [[Exponential distribution#Confidence_intervals|Confidence interval for mean of the Exponential distribution]]
* [[Poisson distribution#Confidence interval|Confidence interval for mean of the Poisson distribution]]
* [[Normal distribution#Estimation of parameters|Confidence intervals for mean and variance of the Normal distribution]]
*[[CDF-based nonparametric confidence interval|Cumulative distribution function-based nonparametric confidence interval]]
* [[Error bar]]
* [[Estimation statistics]]
* [[p-value]]
* [[Robust confidence intervals]]
* [[Tolerance interval]]
 
==References==
{{Reflist|refs=
 
<ref name=CH>Cox D.R., Hinkley D.V. (1974) ''Theoretical Statistics'', Chapman & Hall, p49, p209</ref>
 
<ref name=KS>Kendall, M.G. and Stuart, D.G. (1973) ''The Advanced Theory of Statistics''. Vol 2: Inference and Relationship, Griffin, London. Section 20.4</ref>
 
<ref name=Neyman>{{cite journal | last1 = Neyman | first1 = J. | authorlink = Jerzy Neyman | year = 1937 | title = Outline of a Theory of Statistical Estimation Based on the Classical Theory of Probability | url = http://links.jstor.org/sici?sici=0080-4614%2819370830%29236%3A767%3C333%3AOOATOS%3E2.0.CO%3B2-6 | journal = [[Philosophical Transactions of the Royal Society A]] | volume = 236 | issue = | pages = 333–380 }}</ref>
 
<!-- The following references appeared in the reflist but were not used in the prior text. Please return them to the reflist once they have been correctly cited in the main article.
<ref name="Jiang He"> Jiang He, et al., ''Passive Smoking and the Risk of Coronary Heart Disease — A Meta-Analysis of Epidemiologic Studies'', N Engl J Med 1999; 340:920-926. </ref>
-->
}}
 
{{more footnotes|date=May 2012}}
 
==Bibliography==
{{refbegin}}
* [[Ronald Fisher|Fisher, R.A.]] (1956) ''Statistical Methods and Scientific Inference.'' Oliver and Boyd, Edinburgh. (See p.&nbsp;32.)
* Freund, J.E. (1962) ''Mathematical Statistics'' Prentice Hall, Englewood Cliffs, NJ. (See pp.&nbsp;227–228.)
* [[Ian Hacking|Hacking, I.]] (1965) ''Logic of Statistical Inference.'' Cambridge University Press, Cambridge. ISBN 0-521-05165-7
* Keeping, E.S. (1962) ''Introduction to Statistical Inference.'' D. Van Nostrand, Princeton, NJ.
* {{cite journal | last1 = Kiefer | first1 = J. | authorlink = Jack Kiefer (mathematician) | year = 1977 | title = Conditional Confidence Statements and Confidence Estimators (with discussion) | url = http://links.jstor.org/sici?sici=0162-1459%28197712%2972%3A360%3C789%3ACCSACE%3E2.0.CO%3B2-9 | journal = Journal of the American Statistical Association | volume = 72 | issue = | pages = 789–827 }}
* Mayo, D. G. (1981) [http://www.phil.vt.edu/dmayo/PhilStatistics/In%20Defense%20of%20the%20Neyman-Pearson%20Theory%20of%20Confidence%20Intervals.pdf "In defence of the Neyman-Pearson theory of confidence intervals"], ''Philosophy of Science'', 48 (2), 269–280. {{JSTOR|187185}}
* [[Jerzy Neyman|Neyman, J.]] (1937) [http://links.jstor.org/sici?sici=0080-4614%2819370830%29236%3A767%3C333%3AOOATOS%3E2.0.CO%3B2-6 "Outline of a Theory of Statistical Estimation Based on the Classical Theory of Probability"] ''Philosophical Transactions of the Royal Society of London A,'' '''236,''' 333–380. (Seminal work.)
* {{cite journal | last1 = Robinson | first1 = G.K. | year = 1975 | title = Some Counterexamples to the Theory of Confidence Intervals | url = http://links.jstor.org/sici?sici=0006-3444%28197504%2962%3A1%3C155%3ASCTTTO%3E2.0.CO%3B2-4 | journal = Biometrika | volume = 62 | issue = | pages = 155–161 }}
* Smithson, M. (2003) ''Confidence intervals''. Quantitative Applications in the Social Sciences Series, No. 140. Belmont, CA: SAGE Publications. ISBN 978-0-7619-2499-9.
{{refend}}
 
==External links==
{{commonscat}}
* {{springer|title=Confidence estimation|id=p/c024620}}
* [http://www.latrobe.edu.au/psy/esci/ The Exploratory Software for Confidence Intervals tutorial programs that run under Excel]
* Confidence interval calculators for [http://www.danielsoper.com/statcalc/calc28.aspx R-Squares], [http://www.danielsoper.com/statcalc/calc26.aspx Regression Coefficients], and [http://www.danielsoper.com/statcalc/calc27.aspx Regression Intercepts]
* {{mathworld | urlname = ConfidenceInterval | title = Confidence Interval}}
* [http://www.causeweb.org CAUSEweb.org] Many resources for teaching statistics including Confidence Intervals.
* [http://www.usablestats.com/tutorials/CI An interactive introduction to Confidence Intervals]
* ''[http://demonstrations.wolfram.com/ConfidenceIntervalsConfidenceLevelSampleSizeAndMarginOfError/ Confidence Intervals: Confidence Level, Sample Size, and Margin of Error]'' by Eric Schulz, the [[Wolfram Demonstrations Project]].
* ''[http://health.utah.gov/opha/IBIShelp/ConfInts.pdf Confidence Intervals in Public Health].''  Straightforward description with examples and what to do about small sample sizes or rates near 0.
 
===Online calculators===
* [http://www.graphpad.com/quickcalcs/index.cfm GraphPad QuickCalcs]
* [http://www.stat.tamu.edu/~jhardin/applets/index.html TAMU's Confidence Interval Calculators]
 
{{statistics}}
 
{{DEFAULTSORT:Confidence Interval}}
[[Category:Statistical inference]]
[[Category:Statistical terminology]]
[[Category:Econometrics]]
[[Category:Market research]]
[[Category:Psephology]]
[[Category:Biostatistics]]
[[Category:Measurement]]
[[Category:Statistical intervals]]
 
[[fi:Luottamusväli]]

Latest revision as of 10:41, 23 June 2014


Eusebio is the name women and men use to call my home and I think getting this done sounds quite good when you say it. Idaho is our birth internet site. I second-hand to be unemployed yet still now I am a major cashier. My friends say it's not incredibly good for me but what I love doing will to bake but I'm just thinking on starting something mroe challenging. I'm not good at web design but you might desire to check my website: http://prometeu.net

Look into my site clash of clans hack free