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

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 y=β0+β1x+εy=\beta_0+\beta_1 x+\varepsilon, and the point estimates of the coefficients are written b0b_0 and b1b_1.[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 YY and explanatory variables X1,…,XpX_1, \ldots, X_p has the form

Y=f(X1,…,Xp∣β0,…,βp−1)+ε,Y = f(X_1, \ldots, X_p \mid \beta_0, \ldots, \beta_{p-1}) + \varepsilon,

where the βj\beta_j are parameters to be estimated and ε\varepsilon is an unobservable random error. Linearity refers to the coefficients. The equation Y=β0+β1X+β2X2+εY = \beta_0 + \beta_1 X + \beta_2 X^2 + \varepsilon is linear of the second order even though XX is squared. The straight line Y=β0+β1XY = \beta_0 + \beta_1 X is the deterministic special case with no error term written. The equation Y=β0/(X+β1)+εY = \beta_0/(X+\beta_1)+\varepsilon is nonlinear in the parameter β1\beta_1.[2]

In the same notation, linear regression writes y=β0+β1x+εy = \beta_0 + \beta_1 x + \varepsilon. 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 YY being expressed. The explanatory variables are the XjX_j. The error ε\varepsilon is what keeps the relation from being exact. After a least-squares fit of Y=Xβ+εY=X\beta+\varepsilon, the fitted vector is Y^=Xβ^\hat Y=X\hat\beta and the residual vector is e=Y−Y^e=Y-\hat Y. 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 b0b_0 and b1b_1, 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 (x,y)(x, y) are (1,5)(1, 5), (2,8)(2, 8), and (3,11)(3, 11). The line y=2+3xy = 2 + 3x gives 2+3×1=52 + 3 \times 1 = 5, 2+3×2=82 + 3 \times 2 = 8, and 2+3×3=112 + 3 \times 3 = 11. Every residual is 0. The statistical model with an error term is Y=2+3X+εY = 2 + 3X + \varepsilon with ε=0\varepsilon = 0 at these three points. A fourth point at x=4x = 4 has fitted value 2+3×4=142 + 3 \times 4 = 14.[3][2]

Your turn. The fourth point is observed as y=16y = 16, not 14. What is the residual from the line y=2+3xy = 2 + 3x?

The fitted value is 14. The residual is 16−14=216 - 14 = 2.

Assumptions and limits

The representation is only as good as the hypotheses built into ff and into the behaviour of ε\varepsilon. 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 XX 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 L1L_1 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

Glossary and index

References

  1. ^ 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
  2. ^ 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
  3. ^ 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
Plain text
StatWiki (2026). "Statistical model." StatWiki. Last updated 2 December 2026. https://www.statwiki.io/articles/statistical-model.html
BibTeX
@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}
}