IDEAS home Printed from https://ideas.repec.org/p/rri/wpaper/2013wp03.html
   My bibliography  Save this paper

A J-Test for Panel Models with Fixed Effects, Spatial and Time

Author

Listed:
  • Harry H. Kelejian

    (Department of Economics, University of Maryland)

  • Gianfranco Piras

    (Regional Research Institute, West Virginia University)

Abstract

In this paper we suggest a J-test in a spatial panel framework of a null model against one or more alternatives. The null model we consider has fixed effects, along with spatial and time dependence. The alternatives can have either fixed or random effects. We implement our procedure to test the specifications of a demand for cigarette model. We find that the most appropriate specification is one that contains the average price of cigarettes in neighboring states, as well as the spatial lag of the dependent variable. Along with formal large sample results, we also give small sample Monte Carlo results. Our large samples results are based on the assumption N ? 8 and T is fixed. Our Monte Carlo results suggest that our proposed J-test has good power, and proper size even for small to moderately sized samples.

Suggested Citation

  • Harry H. Kelejian & Gianfranco Piras, 2013. "A J-Test for Panel Models with Fixed Effects, Spatial and Time," Working Papers Working Paper 2013-03, Regional Research Institute, West Virginia University.
  • Handle: RePEc:rri:wpaper:2013wp03
    as

    Download full text from publisher

    File URL: https://researchrepository.wvu.edu/rri_pubs/11/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Parent, Olivier & LeSage, James P., 2010. "A spatial dynamic panel model with random effects applied to commuting times," Transportation Research Part B: Methodological, Elsevier, vol. 44(5), pages 633-645, June.
    2. Kelejian, Harry H & Prucha, Ingmar R, 1999. "A Generalized Moments Estimator for the Autoregressive Parameter in a Spatial Model," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 40(2), pages 509-533, May.
    3. Kelejian, Harry H. & Murrell, Peter & Shepotylo, Oleksandr, 2013. "Spatial spillovers in the development of institutions," Journal of Development Economics, Elsevier, vol. 101(C), pages 297-315.
    4. Debarsy, Nicolas & Ertur, Cem, 2010. "Testing for spatial autocorrelation in a fixed effects panel data model," Regional Science and Urban Economics, Elsevier, vol. 40(6), pages 453-470, November.
    5. Yu, Jihai & de Jong, Robert & Lee, Lung-fei, 2008. "Quasi-maximum likelihood estimators for spatial dynamic panel data with fixed effects when both n and T are large," Journal of Econometrics, Elsevier, vol. 146(1), pages 118-134, September.
    6. Davidson, Russell & MacKinnon, James G, 1981. "Several Tests for Model Specification in the Presence of Alternative Hypotheses," Econometrica, Econometric Society, vol. 49(3), pages 781-793, May.
    7. MacKinnon, James G. & White, Halbert & Davidson, Russell, 1983. "Tests for model specification in the presence of alternative hypotheses : Some further results," Journal of Econometrics, Elsevier, vol. 21(1), pages 53-70, January.
    8. Luc Anselin & Nancy Lozano-Gracia, 2009. "Errors in variables and spatial effects in hedonic house price models of ambient air quality," Studies in Empirical Economics, in: Giuseppe Arbia & Badi H. Baltagi (ed.), Spatial Econometrics, pages 5-34, Springer.
    9. Lee, Lung-fei & Yu, Jihai, 2010. "Estimation of spatial autoregressive panel data models with fixed effects," Journal of Econometrics, Elsevier, vol. 154(2), pages 165-185, February.
    10. M. H. Pesaran, 1974. "On the General Problem of Model Selection," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 41(2), pages 153-171.
    11. Jan Mutl & Michael Pfaffermayr, 2011. "The Hausman test in a Cliff and Ord panel model," Econometrics Journal, Royal Economic Society, vol. 14, pages 48-76, February.
    12. Elhorst, J. Paul, 2010. "Dynamic panels with endogenous interaction effects when T is small," Regional Science and Urban Economics, Elsevier, vol. 40(5), pages 272-282, September.
    13. Nicolas DEBARSY (CERPE De Namur) & Cem ERTUR & James P. LeSAGE, 2010. "Interpreting Dynamic Space-Time Panel Data Models," LEO Working Papers / DR LEO 800, Orleans Economics Laboratory / Laboratoire d'Economie d'Orleans (LEO), University of Orleans.
    14. Florax, Raymond J. G. M. & Folmer, Hendrik & Rey, Sergio J., 2003. "Specification searches in spatial econometrics: the relevance of Hendry's methodology," Regional Science and Urban Economics, Elsevier, vol. 33(5), pages 557-579, September.
    15. Kelejian, Harry H. & Prucha, Ingmar R., 2007. "HAC estimation in a spatial framework," Journal of Econometrics, Elsevier, vol. 140(1), pages 131-154, September.
    16. Parent, Olivier & LeSage, James P., 2011. "A space-time filter for panel data models containing random effects," Computational Statistics & Data Analysis, Elsevier, vol. 55(1), pages 475-490, January.
    17. Baltagi, Badi H. & Levin, Dan, 1992. "Cigarette taxation: Raising revenues and reducing consumption," Structural Change and Economic Dynamics, Elsevier, vol. 3(2), pages 321-335, December.
    18. Pesaran, M. Hashem & Tosetti, Elisa, 2011. "Large panels with common factors and spatial correlation," Journal of Econometrics, Elsevier, vol. 161(2), pages 182-202, April.
    19. Baltagi, Badi H. & Song, Seuck Heun & Koh, Won, 2003. "Testing panel data regression models with spatial error correlation," Journal of Econometrics, Elsevier, vol. 117(1), pages 123-150, November.
    20. Baltagi, Badi H. & Liu, Long, 2008. "Testing for random effects and spatial lag dependence in panel data models," Statistics & Probability Letters, Elsevier, vol. 78(18), pages 3304-3306, December.
    21. Jin, Fei & Lee, Lung-fei, 2013. "Cox-type tests for competing spatial autoregressive models with spatial autoregressive disturbances," Regional Science and Urban Economics, Elsevier, vol. 43(4), pages 590-616.
    22. Kim, Min Seong & Sun, Yixiao, 2011. "Spatial heteroskedasticity and autocorrelation consistent estimation of covariance matrix," Journal of Econometrics, Elsevier, vol. 160(2), pages 349-371, February.
    23. Godfrey, Leslie G, 1983. "Testing Non-Nested Models after Estimation by Instrumental Variables or Least Squares," Econometrica, Econometric Society, vol. 51(2), pages 355-365, March.
    24. Baltagi, Badi H. & Egger, Peter & Pfaffermayr, Michael, 2007. "Estimating models of complex FDI: Are there third-country effects?," Journal of Econometrics, Elsevier, vol. 140(1), pages 260-281, September.
    25. Baltagi, Badi H. & Heun Song, Seuck & Cheol Jung, Byoung & Koh, Won, 2007. "Testing for serial correlation, spatial autocorrelation and random effects using panel data," Journal of Econometrics, Elsevier, vol. 140(1), pages 5-51, September.
    26. László Mátyás & Patrick Sevestre (ed.), 2008. "The Econometrics of Panel Data," Advanced Studies in Theoretical and Applied Econometrics, Springer, number 978-3-540-75892-1.
    27. Miguel A. Delgado & Thanasis Stengos, 1994. "Semiparametric Specification Testing of Non-nested Econometric Models," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 61(2), pages 291-303.
    28. Pesaran, M H, 1982. "Comparison of Local Power of Alternative Tests of Non-Nested Regression Models," Econometrica, Econometric Society, vol. 50(5), pages 1287-1305, September.
    29. Baltagi, Badi H & Levin, Dan, 1986. "Estimating Dynamic Demand for Cigarettes Using Panel Data: The Effects of Bootlegging, Taxation and Advertising Reconsidered," The Review of Economics and Statistics, MIT Press, vol. 68(1), pages 148-155, February.
    30. Pesaran, M H & Deaton, Angus S, 1978. "Testing Non-Nested Nonlinear Regression Models," Econometrica, Econometric Society, vol. 46(3), pages 677-694, May.
    31. Badi H. Baltagi & Peter Egger & Michael Pfaffermayr, 2013. "A Generalized Spatial Panel Data Model with Random Effects," Econometric Reviews, Taylor & Francis Journals, vol. 32(5-6), pages 650-685, August.
    32. Yu, Jihai & Lee, Lung-fei, 2010. "Estimation Of Unit Root Spatial Dynamic Panel Data Models," Econometric Theory, Cambridge University Press, vol. 26(5), pages 1332-1362, October.
    33. Patrick Sevestre & Laszlo Matyas, 2008. "The Econometrics of Panel Data," Université Paris1 Panthéon-Sorbonne (Post-Print and Working Papers) halshs-00279977, HAL.
    34. Dastoor, Naorayex K., 1983. "Some aspects of testing non-nested hypotheses," Journal of Econometrics, Elsevier, vol. 21(2), pages 213-228, February.
    35. Peter Burridge & Bernard Fingleton, 2010. "Bootstrap Inference in Spatial Econometrics: the J-test," Spatial Economic Analysis, Taylor & Francis Journals, vol. 5(1), pages 93-119.
    36. J. Paul Elhorst, 2003. "Specification and Estimation of Spatial Panel Data Models," International Regional Science Review, , vol. 26(3), pages 244-268, July.
    37. Gianfranco Piras, 2013. "Efficient GMM Estimation of a Cliff and Ord Panel Data Model with Random Effects," Spatial Economic Analysis, Taylor & Francis Journals, vol. 8(3), pages 370-388, September.
    38. Kapoor, Mudit & Kelejian, Harry H. & Prucha, Ingmar R., 2007. "Panel data models with spatially correlated error components," Journal of Econometrics, Elsevier, vol. 140(1), pages 97-130, September.
    39. Baltagi, Badi H. & Kelejian, Harry H. & Prucha, Ingmar R., 2007. "Analysis of spatially dependent data," Journal of Econometrics, Elsevier, vol. 140(1), pages 1-4, September.
    40. Elhorst, J. Paul, 2008. "Serial and spatial error correlation," Economics Letters, Elsevier, vol. 100(3), pages 422-424, September.
    41. repec:hal:journl:peer-00796743 is not listed on IDEAS
    42. Lee, Lung-fei & Yu, Jihai, 2010. "A Spatial Dynamic Panel Data Model With Both Time And Individual Fixed Effects," Econometric Theory, Cambridge University Press, vol. 26(2), pages 564-597, April.
    43. Harry Kelejian, 2008. "A spatial J-test for model specification against a single or a set of non-nested alternatives," Letters in Spatial and Resource Sciences, Springer, vol. 1(1), pages 3-11, April.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. repec:rri:wpaper:201303 is not listed on IDEAS
    2. Harry H. Kelejian & Gianfranco Piras, 2016. "A J test for dynamic panel model with fixed effects, and nonparametric spatial and time dependence," Empirical Economics, Springer, vol. 51(4), pages 1581-1605, December.
    3. Roger Bivand & Giovanni Millo & Gianfranco Piras, 2021. "A Review of Software for Spatial Econometrics in R," Mathematics, MDPI, vol. 9(11), pages 1-40, June.
    4. Millo, Giovanni, 2014. "Maximum likelihood estimation of spatially and serially correlated panels with random effects," Computational Statistics & Data Analysis, Elsevier, vol. 71(C), pages 914-933.
    5. Gianfranco Piras, 2013. "Efficient GMM Estimation of a Cliff and Ord Panel Data Model with Random Effects," Spatial Economic Analysis, Taylor & Francis Journals, vol. 8(3), pages 370-388, September.
    6. Su, Liangjun & Yang, Zhenlin, 2015. "QML estimation of dynamic panel data models with spatial errors," Journal of Econometrics, Elsevier, vol. 185(1), pages 230-258.
    7. Debarsy, Nicolas & Ertur, Cem, 2010. "Testing for spatial autocorrelation in a fixed effects panel data model," Regional Science and Urban Economics, Elsevier, vol. 40(6), pages 453-470, November.
    8. Giuseppe Arbia, 2011. "A Lustrum of SEA: Recent Research Trends Following the Creation of the Spatial Econometrics Association (2007--2011)," Spatial Economic Analysis, Taylor & Francis Journals, vol. 6(4), pages 377-395, July.
    9. Kelejian, Harry H. & Piras, Gianfranco, 2011. "An extension of Kelejian's J-test for non-nested spatial models," Regional Science and Urban Economics, Elsevier, vol. 41(3), pages 281-292, May.
    10. Baylis, Kathy & Paulson, Nicholas D. & Piras, Gianfranco, 2011. "Spatial Approaches to Panel Data in Agricultural Economics: A Climate Change Application," Journal of Agricultural and Applied Economics, Cambridge University Press, vol. 43(3), pages 325-338, August.
    11. Lee, Lung-fei & Yu, Jihai, 2010. "Some recent developments in spatial panel data models," Regional Science and Urban Economics, Elsevier, vol. 40(5), pages 255-271, September.
    12. J. Paul Elhorst, 2014. "Dynamic Spatial Panels: Models, Methods and Inferences," SpringerBriefs in Regional Science, in: Spatial Econometrics, edition 127, chapter 0, pages 95-119, Springer.
    13. J. Paul Elhorst, 2014. "Matlab Software for Spatial Panels," International Regional Science Review, , vol. 37(3), pages 389-405, July.
    14. Taşpınar, Süleyman & Doğan, Osman & Bera, Anil K., 2017. "GMM gradient tests for spatial dynamic panel data models," Regional Science and Urban Economics, Elsevier, vol. 65(C), pages 65-88.
    15. Millo, Giovanni & Piras, Gianfranco, 2012. "splm: Spatial Panel Data Models in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 47(i01).
    16. Michele Aquaro & Natalia Bailey & M. Hashem Pesaran, 2021. "Estimation and inference for spatial models with heterogeneous coefficients: An application to US house prices," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 36(1), pages 18-44, January.
    17. Zhang, Yuanqing & Sun, Yanqing, 2015. "Estimation of partially specified dynamic spatial panel data models with fixed-effects," Regional Science and Urban Economics, Elsevier, vol. 51(C), pages 37-46.
    18. Debarsy, Nicolas & Ertur, Cem, 2019. "Interaction matrix selection in spatial autoregressive models with an application to growth theory," Regional Science and Urban Economics, Elsevier, vol. 75(C), pages 49-69.
    19. repec:asg:wpaper:1013 is not listed on IDEAS
    20. Luc Anselin, 2010. "Thirty years of spatial econometrics," Papers in Regional Science, Wiley Blackwell, vol. 89(1), pages 3-25, March.
    21. Herrera Gómez, Marcos, 2017. "Fundamentos de Econometría Espacial Aplicada [Fundamentals of Applied Spatial Econometrics]," MPRA Paper 80871, University Library of Munich, Germany.
    22. Bernard Fingleton & Silvia Palombi, 2016. "Bootstrap J -Test for Panel Data Models with Spatially Dependent Error Components, a Spatial Lag and Additional Endogenous Variables," Spatial Economic Analysis, Taylor & Francis Journals, vol. 11(1), pages 7-26, March.

    More about this item

    Keywords

    spatial panel models; fixed effects; time and spatial lags; non-nested j-test;
    All these keywords.

    JEL classification:

    • C01 - Mathematical and Quantitative Methods - - General - - - Econometrics
    • C12 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Hypothesis Testing: General

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:rri:wpaper:2013wp03. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Randall Jackson (email available below). General contact details of provider: https://edirc.repec.org/data/rrwvuus.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.