Understand the idea
The standard deviation describes how spread out INDIVIDUAL observations are. The standard error describes how spread out an ESTIMATE (like a sample mean) would be if you repeated the whole study many times with fresh samples of the same size. They answer different questions and are often confused because they use the same units.
For a sample mean, the standard error shrinks as the sample size grows (SE = s / sqrt(n)), which is the mathematical reason bigger samples give more precise estimates. Quadrupling the sample size halves the standard error, not quarters it, because of the square root.
Standard errors are the building block behind confidence intervals and test statistics: a confidence interval is the estimate plus or minus roughly two standard errors (for a 95% interval), and a t-statistic is essentially the estimate divided by its own standard error: 'how many standard errors away from zero (or from the null value) is this estimate?'.
The standard error of the mean, often written SEM, is the standard error of a sample average: the sample standard deviation divided by the square root of the sample size.
Robust standard errors are a version that stays trustworthy when the spread of the data is uneven (they still assume the rows are independent); HAC standard errors go further and also allow for correlation between neighboring time points.
Practitioner explanation
SE(x-bar) = sigma/sqrt(n), estimated as s/sqrt(n) when sigma is unknown, which is the reason a t rather than a z reference distribution is used: the extra uncertainty from estimating sigma is what gives t its heavier tails at small n. Every estimator has its own standard error formula: SE_diff = sqrt(s1^2/n1 + s2^2/n2) for a two-sample mean difference, SE(b) from the diagonal of (X'X)^-1 * MSE for a regression coefficient, and cluster-robust or HAC standard errors when independence fails.
A standard error computed under the wrong assumptions can invalidate a p-value even when the point estimate is unbiased. Heteroscedasticity, clustering, or autocorrelation can cause classical standard errors to be too small or too large; whether coefficient estimates remain unbiased depends on the model and design. Robust standard-error methods address particular departures under their own assumptions.
KernelStats reports standard errors for supported estimates, including the mean difference in a two-sample t-test and supported regression coefficients. Some methods, including penalized regression, do not provide ordinary coefficient standard errors or p-values. The linear-regression card offers heteroscedasticity-consistent options, including HC3, as alternatives to classical standard errors.
When to use it
Consider it when
Wherever an estimate is reported: it is the quantity that turns a bare point estimate into an interval or a test statistic.
Use caution when
As a substitute for the standard deviation when describing how spread out the raw data are; SE describes the precision of an ESTIMATE, not the variability of individual observations.
Formulas and symbols
Standard error of a sample mean
s is the sample standard deviation, n the sample size.
Common misconceptions
Misconception
The standard error and the standard deviation are the same thing, just different names.
Correction
The standard deviation describes the spread of individual data points; the standard error describes the spread of an ESTIMATE'S sampling distribution and shrinks as sample size grows, which the standard deviation of the raw data does not.
References
- NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.5.14 Standard error of the mean, NIST/SEMATECH (2012), §1.3.5.14.
