In statistics, model specification is part of the process of building a statistical model: specification consists of selecting an appropriate functional form for the model and choosing which variables to include. For example, given personal income together with years of schooling and onthejob experience , we might specify a functional relationship as follows:^{[1]}
where is the unexplained error term that is supposed to comprise independent and identically distributed Gaussian variables.
The statistician Sir David Cox has said, "How [the] translation from subjectmatter problem to statistical model is done is often the most critical part of an analysis".^{[2]}
YouTube Encyclopedic

1/3Views:11 0763 488179 522

✪ 7 Econometrics Specification 2b: Omitted Variable Bias

✪ 7 Econometrics Specification 3: Philosophies of Choosing Variables

✪ Stats 35 Multiple Regression
Transcription
Contents
Specification error and bias
Specification error occurs when the functional form or the choice of independent variables poorly represent relevant aspects of the true datagenerating process. In particular, bias (the expected value of the difference of an estimated parameter and the true underlying value) occurs if an independent variable is correlated with the errors inherent in the underlying process. There are several different possible causes of specification error; some are listed below.
 An inappropriate functional form could be employed.
 A variable omitted from the model may have a relationship with both the dependent variable and one or more of the independent variables (causing omittedvariable bias).^{[3]}
 An irrelevant variable may be included in the model (although this does not create bias, it involves overfitting and so can lead to poor predictive performance).
 The dependent variable may be part of a system of simultaneous equations (giving simultaneity bias).
Additionally, measurement errors may affect the independent variables: while this is not a specification error, it can create statistical bias.
Note that all models will have some specification error. Indeed, in statistics there is a common aphorism that "all models are wrong". In the words of Burnham & Anderson, "Modeling is an art as well as a science and is directed toward finding a good approximating model ... as the basis for statistical inference".^{[4]}
Detection of misspecification
The Ramsey RESET test can help test for specification error in regression analysis.
In the example given above relating personal income to schooling and job experience, if the assumptions of the model are correct, then the least squares estimates of the parameters and will be efficient and unbiased. Hence specification diagnostics usually involve testing the first to fourth moment of the residuals.^{[5]}
Model building
Building a model involves finding a set of relationships to represent the process that is generating the data. This requires avoiding all the sources of misspecification mentioned above.
One approach is to start with a model in general form that relies on a theoretical understanding of the datagenerating process. Then the model can be fit to the data and checked for the various sources of misspecification, in a task called statistical model validation. Theoretical understanding can then guide the modification of the model in such a way as to retain theoretical validity while removing the sources of misspecification. But if it proves impossible to find a theoretically acceptable specification that fits the data, the theoretical model may have to be rejected and replaced with another one.
A quotation from Karl Popper is apposite here: "Whenever a theory appears to you as the only possible one, take this as a sign that you have neither understood the theory nor the problem which it was intended to solve".^{[6]}
Another approach to model building is to specify several different models as candidates, and then compare those candidate models to each other. The purpose of the comparison is to determine which candidate model is most appropriate for statistical inference. Common criteria for comparing models include the following: R^{2}, Bayes factor, and the likelihoodratio test together with its generalization relative likelihood. For more on this topic, see statistical model selection.
See also
Notes
 ^ This particular example is known as Mincer earnings function.
 ^ Cox, D. R. (2006), Principles of Statistical Inference, Cambridge University Press, p. 197.
 ^ "Quantitative Methods II: Econometrics", College of William & Mary.
 ^ Burnham, K. P.; Anderson, D. R. (2002), Model Selection and Multimodel Inference: A practical informationtheoretic approach (2nd ed.), SpringerVerlag, §1.1.
 ^ Long, J. Scott; Trivedi, Pravin K. (1993). "Some specification tests for the linear regression model". In Bollen, Kenneth A.; Long, J. Scott (eds.). Testing Structural Equation Models. SAGE Publishing. pp. 66–110.
 ^ Popper, Karl (1972), Objective Knowledge: An evolutionary approach, Oxford University Press.
Further reading
 Akaike, Hirotugu (1994), "Implications of informational point of view on the development of statistical science", in Bozdogan, H. (ed.), Proceedings of the First US/JAPAN Conference on The Frontiers of Statistical Modeling: An Informational Approach—Volume 3, Kluwer Academic Publishers, pp. 27–38.
 Asteriou, Dimitrios; Hall, Stephen G. (2011). "Misspecification: Wrong regressors, measurement errors and wrong functional forms". Applied Econometrics (Second ed.). Palgrave Macmillan. pp. 172–197.
 Colegrave, N.; Ruxton, G. D. (2017). "Statistical model specification and power: recommendations on the use of testqualified pooling in analysis of experimental data". Proceedings of the Royal Society B. 284: 20161850. doi:10.1098/rspb.2016.1850. PMC 5378071.
 Gujarati, Damodar N.; Porter, Dawn C. (2009). "Econometric modeling: Model specification and diagnostic testing". Basic Econometrics (Fifth ed.). McGrawHill/Irwin. pp. 467–522. ISBN 9780073375779.
 Harrell, Frank (2001), Regression Modeling Strategies, Springer.
 Kmenta, Jan (1986). Elements of Econometrics (Second ed.). New York: Macmillan Publishers. pp. 442–455. ISBN 0023650702.
 Lehmann, E. L. (1990). "Model specification: The views of Fisher and Neyman, and later developments". Statistical Science. 5: 160–168.
 MacKinnon, James G. (1992). "Model specification tests and artificial regressions". Journal of Economic Literature. 30 (1): 102–146. JSTOR 2727880.
 Maddala, G. S.; Lahiri, Kajal (2009). "Diagnostic checking, model selection, and specification testing". Introduction to Econometrics (Fourth ed.). Wiley. pp. 401–449. ISBN 9780470015124.
 Sapra, Sunil (2005). "A regression error specification test (RESET) for generalized linear models" (PDF). Economics Bulletin. 3 (1): 1–6.