source : wikipedia.org

## Standard error

Jump to navigation

Jump to search

For the computer programming concept, see standard error stream.

For a value that is sampled with an unbiased normally distributed error, the above depicts the proportion of samples that would fall between 0, 1, 2, and 3 standard deviations above and below the actual value.

The standard error (SE)[1][2] of a statistic (usually an estimate of a parameter) is the standard deviation of its sampling distribution[3] or an estimate of that standard deviation. If the statistic is the sample mean, it is called the standard error of the mean (SEM).[2]

The sampling distribution of a mean is generated by repeated sampling from the same population and recording of the sample means obtained. This forms a distribution of different means, and this distribution has its own mean and variance. Mathematically, the variance of the sampling distribution obtained is equal to the variance of the population divided by the sample size. This is because as the sample size increases, sample means cluster more closely around the population mean.

Therefore, the relationship between the standard error of the mean and the standard deviation is such that, for a given sample size, the standard error of the mean equals the standard deviation divided by the square root of the sample size.[2] In other words, the standard error of the mean is a measure of the dispersion of sample means around the population mean.

In regression analysis, the term “standard error” refers either to the square root of the reduced chi-squared statistic, or the standard error for a particular regression coefficient (as used in, say, confidence intervals).

## Standard error of the mean

Exact Value

If a statistically independent sample of n{\displaystyle n} observations x1,x2,…,xn{\displaystyle x_{1},x_{2},\ldots ,x_{n}} are taken from a statistical population with a standard deviation of σ{\displaystyle \sigma }, then the mean value calculated from the sample x¯{\displaystyle {\bar {x}}} will have an associated standard error on the mean σx¯{\displaystyle {\sigma }_{\bar {x}}} given by:[2]

σx¯ =σn{\displaystyle {\sigma }_{\bar {x}}\ ={\frac {\sigma }{\sqrt {n}}}}.

Practically this tells us that when trying to estimate the value of a population mean, due to the factor 1/n{\displaystyle 1/{\sqrt {n}}}, reducing the error on the estimate by a factor of two requires acquiring four times as many observations in the sample; reducing it by a factor of ten requires a hundred times as many observations.

Estimate

The standard deviation σ{\displaystyle \sigma } of the population being sampled is seldom known. Therefore, the standard error of the mean is usually estimated by replacing σ{\displaystyle \sigma } with the sample standard deviation σx{\displaystyle \sigma _{x}} instead:

σx¯ ≈σxn{\displaystyle {\sigma }_{\bar {x}}\ \approx {\frac {\sigma _{x}}{\sqrt {n}}}}.

As this is only an estimator for the true “standard error”, it is common to see other notations here such as:

σ^x¯=σxn{\displaystyle {\widehat {\sigma }}_{\bar {x}}={\frac {\sigma _{x}}{\sqrt {n}}}} or alternately sx¯ =sn{\displaystyle {s}_{\bar {x}}\ ={\frac {s}{\sqrt {n}}}}.

A common source of confusion occurs when failing to distinguish clearly between the standard deviation of the population (σ{\displaystyle \sigma }), the standard deviation of the sample (σx{\displaystyle \sigma _{x}}), the standard deviation of the mean itself (σx¯{\displaystyle \sigma _{\bar {x}}}, which is the standard error), and the estimator of the standard deviation of the mean (σ^x¯{\displaystyle {\widehat {\sigma }}_{\bar {x}}}, which is the most often calculated quantity, and is also often colloquially called the standard error).

Accuracy of the estimator

When the sample size is small, using the standard deviation of the sample instead of the true standard deviation of the population will tend to systematically underestimate the population standard deviation, and therefore also the standard error. With n = 2, the underestimate is about 25%, but for n = 6, the underestimate is only 5%. Gurland and Tripathi (1971) provide a correction and equation for this effect.[4] Sokal and Rohlf (1981) give an equation of the correction factor for small samples of n < 20.[5] See unbiased estimation of standard deviation for further discussion.

Derivation

The standard error on the mean may be derived from the variance of a sum of independent random variables,[6] given the definition of variance and some simple properties thereof. If x1,x2,…,xn{\displaystyle x_{1},x_{2},\ldots ,x_{n}} are n{\displaystyle n} independent observations from a population with mean x¯{\displaystyle {\bar {x}}} and standard deviation σ{\displaystyle \sigma }, then we can define the total

T=(x1+x2+⋯+xn){\displaystyle T=(x_{1}+x_{2}+\cdots +x_{n})}

which due to the Bienaymé formula, will have variance

Var(T)=(Var(x1)+Var(x2)+⋯+Var(xn))=nσ2.{\displaystyle \operatorname {Var} (T)={\big (}\operatorname {Var} (x_{1})+\operatorname {Var} (x_{2})+\cdots +\operatorname {Var} (x_{n}){\big )}=n\sigma ^{2}.}

The mean of these measurements x¯{\displaystyle {\bar {x}}} is simply given by

x¯=T/n{\displaystyle {\bar {x}}=T/n}.

The variance of the mean is then

Var(Tn)=1n2Var(T)=1n2nσ2=σ2n.{\displaystyle \operatorname {Var} \left({\frac {T}{n}}\right)={\frac {1}{n^{2}}}\operatorname {Var} (T)={\frac {1}{n^{2}}}n\sigma ^{2}={\frac {\sigma ^{2}}{n}}.}

The standard error is, by definition, the standard deviation of x¯{\displaystyle {\bar {x}}} which is simply the square root of the variance:

σx¯=σ2n=σn{\displaystyle \sigma _{\bar {x}}={\sqrt {\frac {\sigma ^{2}}{n}}}={\frac {\sigma }{\sqrt {n}}}}.

For correlated random variables the sample variance needs to be computed according to the Markov chain central limit theorem.

Independent and identically distributed random variables with random sample size

There are cases when a sample is taken without knowing, in advance, how many observations will be acceptable according to some criterion. In such cases, the sample size N{\displaystyle N} is a random variable whose variation adds to the variation of X{\displaystyle X} such that,

Var(T)=E(N)Var(X)+Var(N)(E(X))2{\displaystyle \operatorname {Var} (T)=\operatorname {E} (N)\operatorname {Var} (X)+\operatorname {Var} (N){\big (}\operatorname {E} (X){\big )}^{2}}[7]

If N{\displaystyle N} has a Poisson distribution, then E(N)=Var(N){\displaystyle \operatorname {E} (N)=\operatorname {Var} (N)} with estimator N=n{\displaystyle N=n}. Hence the estimator of Var(T){\displaystyle \operatorname {Var} (T)} becomes nSX2+nX¯2{\displaystyle nS_{X}^{2}+n{\bar {X}}^{2}}, leading the following formula for standard error:

Standard Error(X¯)=SX2+X¯2n{\displaystyle \operatorname {Standard~Error} ({\bar {X}})={\sqrt {\frac {S_{X}^{2}+{\bar {X}}^{2}}{n}}}}

(since the standard deviation is the square root of the variance)

## Student approximation when σ value is unknown

Further information: Student’s t-distribution § Confidence intervals

In many practical applications, the true value of σ is unknown. As a result, we need to use a distribution that takes into account that spread of possible σ’s.

When the true underlying distribution is known to be Gaussian, although with unknown σ, then the resulting estimated distribution follows the Student t-distribution. The standard error is the standard deviation of the Student t-distribution. T-distributions are slightly different from Gaussian, and vary depending on the size of the sample. Small samples are somewhat more likely to underestimate the population standard deviation and have a mean that differs from the true population mean, and the Student t-distribution accounts for the probability of these events with somewhat heavier tails compared to a Gaussian. To estimate the standard error of a Student t-distribution it is sufficient to use the sample standard deviation “s” instead of σ, and we could use this value to calculate confidence intervals.

Note: The Student’s probability distribution is approximated well by the Gaussian distribution when the sample size is over 100. For such samples one can use the latter distribution, which is much simpler.

## Assumptions and usage

Further information: Confidence interval

An example of how SE{\displaystyle \operatorname {SE} } is used, is to make confidence intervals of the unknown population mean. If the sampling distribution is normally distributed, the sample mean, the standard error, and the quantiles of the normal distribution can be used to calculate confidence intervals for the true population mean. The following expressions can be used to calculate the upper and lower 95% confidence limits, where x¯{\displaystyle {\bar {x}}} is equal to the sample mean, SE{\displaystyle \operatorname {SE} } is equal to the standard error for the sample mean, and 1.96 is the approximate value of the 97.5 percentile point of the normal distribution:

Upper 95% limit =x¯+(SE×1.96),{\displaystyle ={\bar {x}}+(\operatorname {SE} \times 1.96),} and

Lower 95% limit =x¯−(SE×1.96).{\displaystyle ={\bar {x}}-(\operatorname {SE} \times 1.96).}

In particular, the standard error of a sample statistic (such as sample mean) is the actual or estimated standard deviation of the sample mean in the process by which it was generated. In other words, it is the actual or estimated standard deviation of the sampling distribution of the sample statistic. The notation for standard error can be any one of SE, SEM (for standard error of measurement or mean), or SE.

Standard errors provide simple measures of uncertainty in a value and are often used because:

in many cases, if the standard error of several individual quantities is known then the standard error of some function of the quantities can be easily calculated;

when the probability distribution of the value is known, it can be used to calculate an exact confidence interval;

when the probability distribution is unknown, Chebyshev’s or the Vysochanskiï–Petunin inequalities can be used to calculate a conservative confidence interval; and

as the sample size tends to infinity the central limit theorem guarantees that the sampling distribution of the mean is asymptotically normal.Standard error of mean versus standard deviation

In scientific and technical literature, experimental data are often summarized either using the mean and standard deviation of the sample data or the mean with the standard error. This often leads to confusion about their interchangeability. However, the mean and standard deviation are descriptive statistics, whereas the standard error of the mean is descriptive of the random sampling process. The standard deviation of the sample data is a description of the variation in measurements, while the standard error of the mean is a probabilistic statement about how the sample size will provide a better bound on estimates of the population mean, in light of the central limit theorem.[8]

Put simply, the standard error of the sample mean is an estimate of how far the sample mean is likely to be from the population mean, whereas the standard deviation of the sample is the degree to which individuals within the sample differ from the sample mean.[9] If the population standard deviation is finite, the standard error of the mean of the sample will tend to zero with increasing sample size, because the estimate of the population mean will improve, while the standard deviation of the sample will tend to approximate the population standard deviation as the sample size increases.

## Extensions

Correction for finite population

The formula given above for the standard error assumes that the sample size is much smaller than the population size, so that the population can be considered to be effectively infinite in size. This is usually the case even with finite populations, because most of the time, people are primarily interested in managing the processes that created the existing finite population; this is called an analytic study, following W. Edwards Deming. If people are interested in managing an existing finite population that will not change over time, then it is necessary to adjust for the population size; this is called an enumerative study.

When the sampling fraction is large (approximately at 5% or more) in an enumerative study, the estimate of the standard error must be corrected by multiplying by a ”finite population correction”:[10][11]

FPC=N−nN−1{\displaystyle \operatorname {FPC} ={\sqrt {\frac {N-n}{N-1}}}}

which, for large N:

FPC≈1−nN{\displaystyle \operatorname {FPC} \approx {\sqrt {1-{\frac {n}{N}}}}}

to account for the added precision gained by sampling close to a larger percentage of the population. The effect of the FPC is that the error becomes zero when the sample size n is equal to the population size N.

Correction for correlation in the sample

Expected error in the mean of A for a sample of n data points with sample bias coefficient ρ. The unbiased standard error plots as the ρ = 0 diagonal line with log-log slope −½.

If values of the measured quantity A are not statistically independent but have been obtained from known locations in parameter space x, an unbiased estimate of the true standard error of the mean (actually a correction on the standard deviation part) may be obtained by multiplying the calculated standard error of the sample by the factor f:

f=1+ρ1−ρ,{\displaystyle f={\sqrt {\frac {1+\rho }{1-\rho }}},}

where the sample bias coefficient ρ is the widely used Prais–Winsten estimate of the autocorrelation-coefficient (a quantity between −1 and +1) for all sample point pairs. This approximate formula is for moderate to large sample sizes; the reference gives the exact formulas for any sample size, and can be applied to heavily autocorrelated time series like Wall Street stock quotes. Moreover, this formula works for positive and negative ρ alike.[12] See also unbiased estimation of standard deviation for more discussion.

## See also

Illustration of the central limit theorem

Margin of error

Probable error

Standard error of the weighted mean

Sample mean and sample covariance

Standard error of the median

Variance

## References

^ .mw-parser-output cite.citation{font-style:inherit}.mw-parser-output .citation q{quotes:”\”””\”””‘””‘”}.mw-parser-output .id-lock-free a,.mw-parser-output .citation .cs1-lock-free a{background:linear-gradient(transparent,transparent),url(“//upload.wikimedia.org/wikipedia/commons/6/65/Lock-green.svg”)right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited a,.mw-parser-output .id-lock-registration a,.mw-parser-output .citation .cs1-lock-limited a,.mw-parser-output .citation .cs1-lock-registration a{background:linear-gradient(transparent,transparent),url(“//upload.wikimedia.org/wikipedia/commons/d/d6/Lock-gray-alt-2.svg”)right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription a,.mw-parser-output .citation .cs1-lock-subscription a{background:linear-gradient(transparent,transparent),url(“//upload.wikimedia.org/wikipedia/commons/a/aa/Lock-red-alt-2.svg”)right 0.1em center/9px no-repeat}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration{color:#555}.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration span{border-bottom:1px dotted;cursor:help}.mw-parser-output .cs1-ws-icon a{background:linear-gradient(transparent,transparent),url(“//upload.wikimedia.org/wikipedia/commons/4/4c/Wikisource-logo.svg”)right 0.1em center/12px no-repeat}.mw-parser-output code.cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;font-size:100%}.mw-parser-output .cs1-visible-error{font-size:100%}.mw-parser-output .cs1-maint{display:none;color:#33aa33;margin-left:0.3em}.mw-parser-output .cs1-format{font-size:95%}.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}”List of Probability and Statistics Symbols”. Math Vault. 2020-04-26. Retrieved 2020-09-12.

^ a b c d Altman, Douglas G; Bland, J Martin (2005-10-15). “Standard deviations and standard errors”. BMJ : British Medical Journal. 331 (7521): 903. doi:10.1136/bmj.331.7521.903. ISSN 0959-8138. PMC 1255808. PMID 16223828.

^ Everitt, B. S. (2003). The Cambridge Dictionary of Statistics. CUP. ISBN 978-0-521-81099-9.

^ Gurland, J; Tripathi RC (1971). “A simple approximation for unbiased estimation of the standard deviation”. American Statistician. 25 (4): 30–32. doi:10.2307/2682923. JSTOR 2682923.

^ Sokal; Rohlf (1981). Biometry: Principles and Practice of Statistics in Biological Research (2nd ed.). p. 53. ISBN 978-0-7167-1254-1.

^ Hutchinson, T. P. (1993). Essentials of Statistical Methods, in 41 pages. Adelaide: Rumsby. ISBN 978-0-646-12621-0.

^ Cornell, J R, and Benjamin, C A, Probability, Statistics, and Decisions for Civil Engineers, McGraw-Hill, NY, 1970, ISBN 0486796094, pp. 178–9.

^ Barde, M. (2012). “What to use to express the variability of data: Standard deviation or standard error of mean?”. Perspect. Clin. Res. 3 (3): 113–116. doi:10.4103/2229-3485.100662. PMC 3487226. PMID 23125963.

^ Wassertheil-Smoller, Sylvia (1995). Biostatistics and Epidemiology : A Primer for Health Professionals (Second ed.). New York: Springer. pp. 40–43. ISBN 0-387-94388-9.

^ Isserlis, L. (1918). “On the value of a mean as calculated from a sample”. Journal of the Royal Statistical Society. 81 (1): 75–81. doi:10.2307/2340569. JSTOR 2340569. (Equation 1)

^ Bondy, Warren; Zlot, William (1976). “The Standard Error of the Mean and the Difference Between Means for Finite Populations”. The American Statistician. 30 (2): 96–97. doi:10.1080/00031305.1976.10479149. JSTOR 2683803. (Equation 2)

^ Bence, James R. (1995). “Analysis of Short Time Series: Correcting for Autocorrelation”. Ecology. 76 (2): 628–639. doi:10.2307/1941218. JSTOR 1941218.

vteStatistics

Outline

IndexDescriptive statisticsContinuous dataCenter

Mean

arithmetic

geometric

harmonic

cubic

generalized/power

Median

ModeDispersion

Variance

Standard deviation

Coefficient of variation

Percentile

Range

Interquartile rangeShape

Central limit theorem

Moments

Skewness

Kurtosis

L-momentsCount data

Index of dispersionSummary tables

Grouped data

Frequency distribution

Contingency tableDependence

Pearson product-moment correlation

Rank correlation

Spearman’s ρ

Kendall’s τ

Partial correlation

Scatter plotGraphics

Bar chart

Biplot

Box plot

Control chart

Correlogram

Fan chart

Forest plot

Histogram

Pie chart

Q–Q plot

Run chart

Scatter plot

Stem-and-leaf display

Radar chart

Violin plotData collectionStudy design

Population

Statistic

Effect size

Statistical power

Optimal design

Sample size determination

Replication

Missing dataSurvey methodology

Sampling

stratified

cluster

Standard error

Opinion poll

QuestionnaireControlled experiments

Scientific control

Randomized experiment

Randomized controlled trial

Random assignment

Blocking

Interaction

Factorial experimentAdaptive Designs

Adaptive clinical trial

Up-and-Down Designs

Stochastic approximationObservational Studies

Cross-sectional study

Cohort study

Natural experiment

Quasi-experimentStatistical inferenceStatistical theory

Population

Statistic

Probability distribution

Sampling distribution

Order statistic

Empirical distribution

Density estimation

Statistical model

Model specification

Lp space

Parameter

location

scale

shape

Parametric family

Likelihood (monotone)

Location–scale family

Exponential family

Completeness

Sufficiency

Statistical functional

Bootstrap

U

V

Optimal decision

loss function

Efficiency

Statistical distance

divergence

Asymptotics

RobustnessFrequentist inferencePoint estimation

Estimating equations

Maximum likelihood

Method of moments

M-estimator

Minimum distance

Unbiased estimators

Mean-unbiased minimum-variance

Rao–Blackwellization

Lehmann–Scheffé theorem

Median unbiased

Plug-inInterval estimation

Confidence interval

Pivot

Likelihood interval

Prediction interval

Tolerance interval

Resampling

Bootstrap

JackknifeTesting hypotheses

1- & 2-tails

Power

Uniformly most powerful test

Permutation test

Randomization test

Multiple comparisonsParametric tests

Likelihood-ratio

Score/Lagrange multiplier

WaldSpecific tests

Z-test (normal)

Student’s t-test

F-testGoodness of fit

Chi-squared

G-test

Kolmogorov–Smirnov

Anderson–Darling

Lilliefors

Jarque–Bera

Normality (Shapiro–Wilk)

Likelihood-ratio test

Model selection

Cross validation

AIC

BICRank statistics

Sign

Sample median

Signed rank (Wilcoxon)

Hodges–Lehmann estimator

Rank sum (Mann–Whitney)

Nonparametric anova

1-way (Kruskal–Wallis)

2-way (Friedman)

Ordered alternative (Jonckheere–Terpstra)Bayesian inference

Bayesian probability

prior

posterior

Credible interval

Bayes factor

Bayesian estimator

Maximum posterior estimatorCorrelationRegression analysisCorrelation

Pearson product-moment

Partial correlation

Confounding variable

Coefficient of determinationRegression analysis

Errors and residuals

Regression validation

Mixed effects models

Simultaneous equations models

Multivariate adaptive regression splines (MARS)Linear regression

Simple linear regression

Ordinary least squares

General linear model

Bayesian regressionNon-standard predictors

Nonlinear regression

Nonparametric

Semiparametric

Isotonic

Robust

Heteroscedasticity

HomoscedasticityGeneralized linear model

Exponential families

Logistic (Bernoulli) / Binomial / Poisson regressionsPartition of variance

Analysis of variance (ANOVA, anova)

Analysis of covariance

Multivariate ANOVA

Degrees of freedomCategorical / Multivariate / Time-series / Survival analysisCategorical

Cohen’s kappa

Contingency table

Graphical model

Log-linear model

McNemar’s testMultivariate

Regression

Manova

Principal components

Canonical correlation

Discriminant analysis

Cluster analysis

Classification

Structural equation model

Factor analysis

Multivariate distributions

Elliptical distributions

NormalTime-seriesGeneral

Decomposition

Trend

Stationarity

Seasonal adjustment

Exponential smoothing

Cointegration

Structural break

Granger causalitySpecific tests

Dickey–Fuller

Johansen

Q-statistic (Ljung–Box)

Durbin–Watson

Breusch–GodfreyTime domain

Autocorrelation (ACF)

partial (PACF)

Cross-correlation (XCF)

ARMA model

ARIMA model (Box–Jenkins)

Autoregressive conditional heteroskedasticity (ARCH)

Vector autoregression (VAR)Frequency domain

Spectral density estimation

Fourier analysis

Wavelet

Whittle likelihoodSurvivalSurvival function

Kaplan–Meier estimator (product limit)

Proportional hazards models

Accelerated failure time (AFT) model

First hitting timeHazard function

Nelson–Aalen estimatorTest

Log-rank testApplicationsBiostatistics

Bioinformatics

Clinical trials / studies

Epidemiology

Medical statisticsEngineering statistics

Chemometrics

Methods engineering

Probabilistic design

Process / quality control

Reliability

System identificationSocial statistics

Actuarial science

Census

Crime statistics

Demography

Econometrics

Jurimetrics

National accounts

Official statistics

Population statistics

PsychometricsSpatial statistics

Cartography

Environmental statistics

Geographic information system

Geostatistics

Kriging

Category

Mathematics portal

Commons

WikiProject

Retrieved from “https://en.wikipedia.org/w/index.php?title=Standard_error&oldid=1017880275”

Standard Error of the Mean (1 of 2) – It is the standard deviation of the sampling distribution of the mean. where σ is the standard deviation of the original distribution and N is the sample size (the number of scores each mean is based upon). Help support this free site by buying your books from Amazon following this link…The paper that I'm following just uses robust standard errors and not clustered standard errors. However, they have population based data. The standard deviation (SD) measures the amount of variability, or dispersion, from the individual data values to the mean, while the standard error of the…The standard error (SE) of a statistic (usually an estimate of a parameter) is the standard deviation of its sampling distribution or an estimate of that standard deviation.

197 questions with answers in STANDARD ERROR | Science topic – A standard deviation can be obtained from the standard error of a mean by multiplying by the square root of the sample size: When making this transformation, standard errors must be of means calculated from within an intervention group and not standard errors of the difference in means…When you execute the dmesg command, the system displays messages that are generated by the kernel. The Linux kernel mounts the following pseudo-filesystems to provide access to information about hardware devices Which of the following is a valid Linux option style for Traditional UnixFind the mean of your set of numbers if the standard deviation is not provided; that is, add all the numbers together, then divide that sum by the About the Author. A resident of Riverside, California, Timothy Peckinpaugh began writing in 2006 for U.S. History Publishers, based in Temecula, California.

Standard error – Wikipedia – The string printed as the exception type is the name of the built-in exception that occurred. This is true for all built-in exceptions, but need not be true for user-defined exceptions (although it is a useful convention). Standard exception names are built-in identifiers (not reserved keywords).After the try: block, include an except: statement, followed by a block of code which handles the problem as elegantly as possible. Python also allows you to create your own exceptions by deriving classes from the standard built-in exceptions. Here is an example related to RuntimeError.Which of the following is not true about the ASP.NET development platform? . Visual Basic code can be stored in a separate file from a web page's text Which of the following is the correct definition for a procedure that accepts a String array as an argument? . Private Sub ArrayParam(ByVal strStudents…