Maximum likelihood¶
In the app: Help → Help contents, Maximum likelihood.
Maximum likelihood chooses the parameters that make the observed data most probable under the model: logit and probit for 0/1 outcomes, Poisson for counts, Tobit and Heckman's model for censored and selected samples, and regressions with ARMA errors or GARCH variance. The complementary log-log (family=CLogLog(), "cloglog" in the dialog), P(y = 1) = 1 - exp(-exp(x b)), is the 0/1 model for an asymmetric response: rare events, or a discrete-time hazard from a proportional-hazards model; OrderedCLogLog() is its ordered counterpart, P(y <= j) = 1 - exp(-exp(cut_j - x b)) (EViews' binary and ordered with d=x). If the model is right the estimates are consistent and, in large samples, normal and as precise as any consistent estimator can be.
Their precision comes from the curvature of the log likelihood at its maximum, the information matrix, whose inverse is their covariance. cov chooses how it is estimated: classic, the inverse Hessian (second derivatives), right when the likelihood is the true one; opg (logit, probit, cloglog, Poisson), the outer product of each observation's scores (first derivatives), equivalent under the same assumption but often worse in small samples; white, the quasi-ML sandwich of the two, still valid when the distribution is wrong but the part that matters (a Poisson's mean, a GARCH's variance equation) is right. The estimates are then quasi-ML, and only the sandwich can be trusted.
Three tests compare a model with a restricted one, each chi-squared with as many degrees of freedom as restrictions. The likelihood ratio (LR) test fits both and doubles the gap in log likelihood; the Wald test fits only the unrestricted model and asks whether the restrictions nearly hold; the Lagrange multiplier (LM, score) test fits only the restricted one and asks whether the scores of the extra parameters are far from zero. They agree in large samples but not always in small ones, and Wald depends on how a nonlinear restriction is written.
The maximum is found numerically from starting values. A parameter is not identified when the likelihood is flat in it: collinear regressors, a regressor that predicts a 0/1 outcome perfectly (separation: estimates running off to infinity), or a parameter that matters only when another is not zero. A singular Hessian, huge standard errors or a fit stopped at its iteration limit are the signs. A likelihood can have several maxima, so check that other starting values give the same estimates and log likelihood.
References¶
- Greene, W. H. (2018). Econometric Analysis, 8th ed., chapter 14, "Maximum likelihood estimation". Pearson. (search)
- White, H. (1982). Maximum likelihood estimation of misspecified models. Econometrica 50(1), 1-25. doi:10.2307/1912526
- Engle, R. F. (1984). Wald, likelihood ratio, and Lagrange multiplier tests in econometrics. In Griliches, Z. and Intriligator, M. D. (eds.), Handbook of Econometrics, volume 2, chapter 13, 775-826. North-Holland. doi:10.1016/s1573-4412(84)02005-5