Statistical model
Intermediate
What you need first. Nothing else on this path comes first. This page is part of Statistical inference.
In statistics, a statistical model is a mathematical statement relating variables, usually with a random remainder. Data are particular. A statistical model is the general description that relates them: a mathematical statement connecting the variables, with a random piece that says the relation is not exact. A model can predict a measured quantity, or it can predict the relative frequency of random outcomes, or it can do both. Uncertainty about a conclusion then has two contributions the model makes explicit: the error in the observations, and the fact that the model itself is not perfect.[1][1][2]
Statistical model
| Fact | Value |
|---|---|
| Topic | Statistical inference |
| Listed on | Statistical inference |
| Worked example | 1 |
Motivating example
The cost of a share purchase can fall exactly on a straight line when the price per share is fixed, as with twelve simultaneous orders for one stock. Family income and the financial aid a college offers do not. Income says something about aid, and other facts say something too. A line plus a remainder is the model for the second situation. The exact line was the model for the first. The equation written for the imperfect case is , and the point estimates of the coefficients are written and .[3]
Definition
A model is a theoretical representation of a real situation, built from mathematical symbols. Given observations and hypotheses, it aims at the best description of the phenomenon that those hypotheses allow. It contains observable variables and parameters. The variables are the observable pieces. The parameters are the fixed, generally unknown, quantities that tie the variables together. A deterministic model says the tie is exact. A stochastic model says a random error remains.[2]
A statistical model predicts a measured quantity. A probability model predicts the relative frequency of random outcomes.[1]
A stochastic model for a response and explanatory variables has the form
where the are parameters to be estimated and is an unobservable random error. Linearity refers to the coefficients. The equation is linear of the second order even though is squared. The straight line is the deterministic special case with no error term written. The equation is nonlinear in the parameter .[2]
In the same notation, linear regression writes . The error term is often dropped from the written prediction because the target is the average outcome, not a new individual remainder.[3]
Properties
The response, also called the endogenous variable, is the being expressed. The explanatory variables are the . The error is what keeps the relation from being exact. After a least-squares fit of , the fitted vector is and the residual vector is . A residual is the difference between the observed value and the estimated value.[2]
Discrete models are also classed by the factors. A fixed-effect model uses factors whose levels are the finite set written into the design. A variable-effect model uses levels that were drawn at random from a larger set of possible levels. A mixed-effect model contains both. The design decides which of those writings is the right one, because the design says which levels were fixed and which were sampled.[2]
The model states the relation one is willing to estimate. For a line, the data produce and , and the fitted line is used to describe or predict the average response. A residual plot then asks whether the line left a pattern behind. Curvature in the residuals means the straight line was the wrong model. In a causal analysis the equation is a device for estimation. An observational association, written with a coefficient, is not by itself a model of a causal effect.[3]
Worked example
Three points are , , and . The line gives , , and . Every residual is 0. The statistical model with an error term is with at these three points. A fourth point at has fitted value .[3][2]
Your turn. The fourth point is observed as , not 14. What is the residual from the line ?
The fitted value is 14. The residual is .
Assumptions and limits
The representation is only as good as the hypotheses built into and into the behaviour of . A straight line leaves curvature behind when the relation bends, and the residual plot is the warning. Parameters are features of the model, not variables of the units. Using an imperfect model is itself a source of uncertainty, alongside the observational error. Squaring does not make the model nonlinear. Nonlinearity is about the way the coefficients enter. A fitted line is an estimate of a stated relation, and the residuals are the part the relation did not capture. It is not a law the points had to obey.[3][2][1]
Check yourself
Try these questions before opening an answer.
Error and parameters
In the equation Y = β0 + β1 X + ε, which symbol is the unobservable random error, and which symbols are the unknown parameters?
The error is ε. The parameters are β0 and β1.
A squared predictor
Does squaring the explanatory variable make Y = β0 + β1 X + β2 X^2 + ε nonlinear in the coefficients?
No. The equation is still linear in β0, β1 and β2. The square is on X.
A different residual
The fitted line is ŷ = 1 + 2x. At x = 3 the observation is y = 10. What is the residual?
The fitted value is 7, so the residual is 3.
History
The word model, for a mathematical representation fitted to observations, is traced to three eighteenth-century astronomical problems: the inequality in the motions of Jupiter and Saturn, the motion of the Moon, and the shape of the Earth. Euler treated the first in 1749, Mayer the lunar motion in 1750, and Boscovich and Maire the shape of the Earth in 1755. The split between a model that predicts a measured quantity and a model that predicts relative frequencies is the modern division into statistical and probability models. Least squares and estimation are two of the methods that estimate the parameters once the equation has been written.[2][1]
See also
Line chart · Apriori algorithm · Asymptotic analysis · Average treatment effect · Base rate · Bayesian inference · Bayesian model · Bayesian probability
References
- ^ a b c d e a. (Glossary, "model") b. (Glossary, "uncertainty") c. (Glossary, "model") d. (Glossary, "uncertainty") e. (Glossary, "model") Heckert, N. A., Filliben, J. J., Croarkin, C. M., Hembree, B., Guthrie, W. F., Tobias, P. & Prinz, J. (2002). Handbook 151: NIST/SEMATECH e-Handbook of Statistical Methods, Glossary. National Institute of Standards and Technology. https://www.itl.nist.gov/div898/handbook/glossary.htm
- ^ a b c d e f g h a. (p. 353) b. (pp. 353–354) c. (p. 354) d. (pp. 354, 365) e. (pp. 354–355) f. (p. 354) g. (pp. 353–354) h. (pp. 353–354) Dodge, Yadolah (2008). The Concise Encyclopedia of Statistics. Springer. https://doi.org/10.1007/978-0-387-32833-1
- ^ a b c d e a. (Ch. 8, §8.1.1) b. (Ch. 8, §8.1.1) c. (Ch. 8, §8.1.1, §8.1.3; Ch. 1, §1.3.4) d. (Ch. 8, §8.1.1) e. (Ch. 8, §8.1.1, §8.1.3) Diez, D. M., Çetinkaya-Rundel, M. & Barr, C. D. (2019). OpenIntro Statistics (4th ed.). OpenIntro. https://www.openintro.org/book/os/
Cite this page
StatWiki (2026). "Statistical model." StatWiki. Last updated 2 December 2026. https://www.statwiki.io/articles/statistical-model.html
@misc{statwiki_statistical_model,
author = {{StatWiki}},
title = {{Statistical model}},
year = {2026},
url = {https://www.statwiki.io/articles/statistical-model.html},
urldate = {2026-12-02},
note = {StatWiki, last updated 2 December 2026}
}