# A J test for dynamic panel model with fixed effects, and nonparametric spatial and time dependence

## Author

Listed:
• Harry H. Kelejian

(University of Maryland)

• Gianfranco Piras

() (West Virginia University)

## Abstract

In this paper, we suggest a J test in a dynamic spatial panel framework of a null model against one or more alternatives. The null model we consider has fixed effects, along with nonparametrically specified spatial and time dependence. The alternatives can have either fixed or random effects with the same complications. 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 sample results are based on the assumption $$N\rightarrow \infty$$ N → ∞ 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, 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.
• Handle: RePEc:spr:empeco:v:51:y:2016:i:4:d:10.1007_s00181-015-1056-2
DOI: 10.1007/s00181-015-1056-2
as

File Function: Abstract

As the access to this document is restricted, you may want to search for a different version of it.

## 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. 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.
4. Pesaran, M H & Deaton, Angus S, 1978. "Testing Non-Nested Nonlinear Regression Models," Econometrica, Econometric Society, vol. 46(3), pages 677-694, May.
5. 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.
6. 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.
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. 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.
9. 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.
10. 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.
11. M. H. Pesaran, 1974. "On the General Problem of Model Selection," Review of Economic Studies, Oxford University Press, vol. 41(2), pages 153-171.
12. Luc Anselin & Nancy Lozano-Gracia, 2008. "Errors in variables and spatial effects in hedonic house price models of ambient air quality," Empirical Economics, Springer, vol. 34(1), pages 5-34, February.
13. 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.
14. 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.
15. 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.
16. 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.
17. White, Halbert, 1980. "A Heteroskedasticity-Consistent Covariance Matrix Estimator and a Direct Test for Heteroskedasticity," Econometrica, Econometric Society, vol. 48(4), pages 817-838, May.
18. 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.
19. 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.
20. Kelejian, Harry H. & Prucha, Ingmar R., 2007. "HAC estimation in a spatial framework," Journal of Econometrics, Elsevier, vol. 140(1), pages 131-154, September.
21. 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.
22. 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.
23. 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.
24. Dastoor, Naorayex K., 1983. "Some aspects of testing non-nested hypotheses," Journal of Econometrics, Elsevier, vol. 21(2), pages 213-228, February.
25. 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.
26. 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.
27. 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.
28. J. Paul Elhorst, 2003. "Specification and Estimation of Spatial Panel Data Models," International Regional Science Review, , vol. 26(3), pages 244-268, July.
29. 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.
30. Parent, Olivier & LeSage, James P., 2012. "Spatial dynamic panel data models with random effects," Regional Science and Urban Economics, Elsevier, vol. 42(4), pages 727-738.
31. 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.
32. 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.
33. 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.
34. Elhorst, J. Paul, 2008. "Serial and spatial error correlation," Economics Letters, Elsevier, vol. 100(3), pages 422-424, September.
35. repec:hal:journl:peer-00796743 is not listed on IDEAS
36. Miguel A. Delgado & Thanasis Stengos, 1994. "Semiparametric Specification Testing of Non-nested Econometric Models," Review of Economic Studies, Oxford University Press, vol. 61(2), pages 291-303.
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. 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.
Full references (including those not matched with items on IDEAS)

### Keywords

Spatial panel models; Fixed effects; Time and spatial lags; Non-nested J test;

### JEL classification:

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

## 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:spr:empeco:v:51:y:2016:i:4:d:10.1007_s00181-015-1056-2. See general information about how to correct material in RePEc.

For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Sonal Shukla) or (Springer Nature Abstracting and Indexing). General contact details of provider: http://www.springer.com .

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 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.

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

IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.