Econometrics is the quantitative analysis of actual economic phenomena based on economic theory and observation. It uses statistical and mathematical methods to empirically test economic theories and provide numerical estimates. Econometrics differs from mathematical economics by empirically verifying theories using measurable data, and from statistical economics by using collected economic data to test theories rather than just presenting the data. In econometric models, an endogenous variable is one that is correlated with the error term, such as when the dependent and independent variables influence each other. The methodology of econometrics involves stating a theory, specifying mathematical and statistical models, obtaining data, estimating parameters, testing hypotheses, forecasting, and using the model for policy purposes.