EViews Workfiles & Program Files for Specification Testing
in Limited Dependent Variable Models

Background

In the linear regression model, certain type of mis-specification have only mild implications for our inferences. For example, although heteroskedasticity renders the usual estimated covariance matrix for the OLS parameter estimator inconsistent, the parameter estimates themselves only lose efficiency - they are still unbiased and consistent. Similarly, although the omission of relevant regressors from the standard linear regression model generally biases the OLS parameter estimates, this bias vanishes if the included and excluded regressors are orthogonal (uncorrelated in the sample).

These results change if the model is non-linear in the parameters - a fact that is well known (e.g., Maddala & Nelson, 1975; Hurd, 1979; Arabmazar & Schmidt, 1981; White, 1981; Lee, 1982; Ruud, 1983; Kiefer & Skoog, 1984; Yatchew & Griliches, 1985; Blundell, 1987), but largely ignored in most empirical studies. More specifically, these results change (for the worse) in the context of such non-linear models as Logit, Probit, Tobit, and the various extensions of these models. For example, in the presence of heteroskedasticity, the MLE's of the parameters of these models are inconsistent. So, worrying about reporting "robust" standard errors is of second-order importance. There are much more serious matters to be concerned about! Similarly, the omission of relevant covariates (even if they are uncorrelated with the included ones) also renders the MLE's of the parameters themselves inconsistent.

It should be noted that these issues apply not only to maximum likelihood estimation of non-linear models, but to any estimators based on the optimization of a criterion function (see Kiefer & Skoog, 1984). Various Lagrange Multiplier (LM) tests for these types of mis-specification in Logit, Probit, and related models have long been available (e.g., Davidson & MacKinnon, 1984; Smith, 1989; Pagan & Vella, 1989; Murphy, 1994, 1996), but seem to be largely ignored in most empirical research. While this may reflect a lack of familiarity with the theoretical literature, it may also reflect the lack of easy access to the code needed to implement these specification tests.

Listed below are EViews workfiles and program files that can be used to perform various specification tests on binary choice models. Each workfile contains a READ_ME text object.
The files were created using EViews 6 (Quantitative Micro Software, 2007).

LM Test of Logistic Against Burr Type II

The Logit model will be mis-specified, and the MLE's of the parameters will be inconsistent, if the underlying distribution is asymmetric. The Logistic distribution is nested within the Burr Type II family of distributions, whose p.d.f.'s may be symmetric or skewed to the left or to the right, depending on the value of the shape parameter (K > 0). The Logistic distribution is nested within that family, and arises when K = 1. This LM test is for the null hypothesis, H0: K = 1, against HA: K ≠ 1. Asymptotically, the LM test statistic is Chi-Square with 1 degree of freedom, under the null, so we reject H0 in favour of HA if the LM test statistic exceeds the appropriate χ2(1)(α) critical value.

  • Workfile: Logistic_Burr.wf1
  • Program file: Logistic_Burr.prg
  • References: Poirier (1980); Thomas (1993).

    Tests of Homoskedasticity & Functional Form

    Logit and Probit models will be mis-specified, and the MLE's of the parameters will be inconsistent, if the disturbances are heteroskedastic, or if the underlying distribution is mis-specified. We consider two specification tests See Davidson & MacKinnon (2004, pp.464-465) for further details.

    In the LM tests for homoskedasticity the form of the skedastic function is taken to be exp(2Ztγ) where Zt is the vector giving the tth observation on the r variables that are believed to give rise to the heteroskedasticity. These variables must not include an intercept.
    These LM tests are for the null hypothesis, H0: γ = 0, against HA: γ ≠ 0. Asymptotically, the LM test statistic is Chi-Square with r degrees of freedom, under the null, so we reject H0 in favour of HA if the LM test statistic exceeds the appropriate χ2(r)(α) critical value.

    The LM tests for functional form are similar to the familiar "RESET test" for the standard linear OLS model. Under the alternative hypothesis, the functional form is taken to be F[τ(δXtβ) / δ], where F is the c.d.f. for either the Logistic distribution or the Standard Normal distribution; δ is a scalar parameter; and τ( . ) is a scalar monotonic increasing function satisfying: τ(0) = 0, τ'(0) = 1, & τ"(0) ≠ 0.
    These LM tests are for the null hypothesis, H0: δ = 0, against HA: δ ≠ 0. Asymptotically, the LM test statistic is standard normal under the null, so we reject H0 in favour of HA if the absolute value of the test statistic exceeds the appropriate Z(α/2) critical value. So, a 2-sided p-value is reported.

    (a) Logit Model

  • Workfile: Logit_hetero.wf1
  • Program file: Logit_hetero.prg
    (Updated 7 October, 2011)

    (b) Probit Model
  • Workfile: Probit_hetero.wf1
  • Program file: Probit_hetero.prg
    (Updated 7 October, 2011)
  • References: Davidson & MacKinnon (1984, 2004).

    A procedure for the SHAZAM econometrics package is available at http://shazam.econ.ubc.ca/intro/logit3.htm

    Tests of Omitted Variables

    When a Logit or Probit model is estimated in EViews, various tests are available through the "VIEW" tab in the menu bar for the Equation window. Specifically, EViews incorporates the Likelihood Ratio Test for wrongly omitted/included covariates.

    Tests for Normality in a Probit Model

    See Bera et al. (1984) and Wilde (2008). EViews code is currently being prepared - Check back soon!

    Estimation & Testing for a Bivariate Probit Model

    A bivariate probit model is a 2-equation system in which each equation is a probit model. Apart from estimating the system, in the hope of increasing the asymptotic efficiency of our estimator over single-equation probit estimation, we will also be interested in testing the hypothesis that the errors in the two equations are uncorrelated.

    Packages such as Stata and LIMDEP/NLOGIT provide routines for the estimation of Bivariate Probit models, and an "add-in" for estimating Bivariate Probit models is now available for EViews 7.1.
    It is also easy to create a "LOGL" object in EViews to estimate a Bivariate Probit model if you are using an earlier version of EViews - see the following test workfiles, and the associated documentation.

  • Generic Workfile: bivariate_probit.wf1 (See the "README" text object in the workfile for more information.)
  • Real Data Workfile: Greene_Example_23_15.wf1 (See the "README" text object in the workfile for more information.)
  • Background notes: bivariate probit.pdf
  • Reference: Greene (2008), pp. 817-826.

    References:

  • Arabmazar, A. & P. Schmidt (1981), "Further Evidence on the Robustess of the Tobit Estimator to Heteroskedasticity", Journal of Econometrics, 17, 253-258.)
  • Bera, A. K., Jarque, C. M. and L. F. Lee (1984), "Testing the Normality Assumption in Limited Dependent variable Models", International Economic review, 25, 563-578.
  • Blundell, R. (ed.) (1987), "Specification Testing in Discrete and Limited Dependent Variable Models", Journal of Econometrics, 34, 1-274.
  • Davidson, R. & J. G. MacKinnon (1984), "Convenient Specification Tests for Logit and Probit Models", Journal of Econometrics 25, 241 262.
  • Davidson, R. & J. G. MacKinnon (2004), Econometric Theory and Methods, Oxford University Press, Oxford.
  • Greene, W. E. (2008), Econometric Analysis, 6th ed., Prentice Hall.
  • Hurd, M. (1982), "Estimation in Truncated Samples When There is Heteroscedasticity", Journal of Econometrics, 11,247-258.
  • Kiefer, N. M. & G. R. Skoog (1984), "Local Asymptotic Specification Error Analysis", Econometrica, 52, 873-885.
  • Lee, L.-F. (1982), "Specification in Multinomial Logit Models", Journal of Econometrics, 20, 197-209.
  • Maddala, G. S. and F. D. Nelson (1975), "Specification Error in Limited Dependent Variable Models", NBER Working Paper No. 96.
  • Murphy, A. (1994), "Artificial Regression Based LM Tests of Mis-specification for Discrete Choice Models", Economic and Social Review, 26, 69-74.
  • Murphy, A. (1996), "Simple LM Tests of Mis-Specification for Ordered Logit Models", Economics Letters, 52, 137-141.
  • Pagan, A.R. & F. Vella (1989), "Diagnostic Tests for Models Based on Individual Data: A Survey", Journal of Applied Econometrics, 4, S29-59.
  • Poirier, D. J. (1980), "A Lagrange Multiplier Test for Skewness in Binary Logit Models", Economics Letters, 5, 141-143.
  • Ruud, P. (1983), "Sufficient Conditions for the Consistency of Maximum Likelihood Estimation Despite Misspecification of Distribution in Multinomial Discrete Choice Models", Econometrica, 51, 225-228.
  • Smith R. J. (1989). "On the Use of Distributional Mis-specification Checks in Limited Dependent Variable Models", Economic Journal, 99, 178-192.
  • Thomas, J. M. (1993), "On Testing the Logistic Assumption in Binary Dependent Variable Models", Empirical Economics, 18, 381-392.
  • Quantitative Micro Software (2007), EViews 6, Irvine CA.
  • Wilde, J. (2008), "A Simple Representation of the Bera-Jarque-Lee Test for Probit Models", Economics Letters, 101, 119-121.
  • White, H. (1981), "Consequences and Detection of Misspecified Nonlinear Regression Models", Journal of the American Statistical Association, 76, 419-433.
  • Yatchew, A. & Z. Griliches (1985), "Specification Error in Probit Models" Review of Economics and Statistics, 67, 134-139.
  • Last Update: 24 February, 2021

    Contact: David Giles; Department of Economics, University of Victoria, CANADA. email: dgiles@uvic.ca; Tel.: +1-613-332 6833