IDEAS home Printed from https://ideas.repec.org/p/boc/lsug23/20.html
   My bibliography  Save this paper

A robust test for linear and log-linear models against Box-Cox alternatives

Author

Listed:
  • David Vincent

    (David Vincent Econometrics)

Abstract

The purpose of this presentation is to describe a new command xtloglin, which tests the suitability of the linear and log-linear regression models against Box-Cox alternatives. The command uses a GMM-based Lagrange Multiplier test, which is robust to non-normality and heteroskedasticity of the errors and extends the analysis by Savin and Würtz (2005) to panel data regressions after xtreg. The Box-Cox transformation, first introduced by Box and Cox (1964), is a popular approach for testing the linear and log-linear functional forms, as both are special cases of the transformation. The usual approach is to estimate the Box-Cox model by maximum likelihood, assuming normally distributed homoskedastic errors and test the restrictions on the transformation parameter, that lead to linear and log-linear specifications using a Wald or likelihood ratio test. Despite the popularity of this approach, the estimator of the transformation parameter is not just restricted to the search for non-linearity, but also to one that leads to more normal errors, with constant variance. This can result in an estimate that favours log-linearity over linearity even though the true model is linear with non-normal or heteroskedastic errors. These issues are resolved by xtloglin, as the GMM-estimator is consistent under less restrictive distributional assumptions.

Suggested Citation

  • David Vincent, 2023. "A robust test for linear and log-linear models against Box-Cox alternatives," UK Stata Conference 2023 20, Stata Users Group.
  • Handle: RePEc:boc:lsug23:20
    as

    Download full text from publisher

    File URL: http://repec.org/lsug2023/Stata_UK23_Vincent.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Amemiya, Takeshi & Powell, James L., 1981. "A comparison of the Box-Cox maximum likelihood estimator and the non-linear two-stage least squares estimator," Journal of Econometrics, Elsevier, vol. 17(3), pages 351-381, December.
    2. Newey, Whitney K & West, Kenneth D, 1987. "Hypothesis Testing with Efficient Method of Moments Estimation," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 28(3), pages 777-787, October.
    3. L. G. Godfrey & M. R. Wickens, 1981. "Testing Linear and Log-Linear Regressions for Functional Form," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 48(3), pages 487-496.
    4. Russell Davidson & James G. MacKinnon, 1985. "Testing Linear and Loglinear Regressions against Box-Cox Alternatives," Canadian Journal of Economics, Canadian Economics Association, vol. 18(3), pages 499-517, August.
    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. Godfrey, Leslie G & McAleer, Michael & McKenzie, Colin R, 1988. "Variable Addition and LaGrange Multiplier Tests for Linear and Logarithmic Regression Models," The Review of Economics and Statistics, MIT Press, vol. 70(3), pages 492-503, August.
    2. Davidson, Russell & MacKinnon, James G., 1989. "Testing for Consistency using Artificial Regressions," Econometric Theory, Cambridge University Press, vol. 5(3), pages 363-384, December.
    3. McAleer, Michael, 1994. "Sherlock Holmes and the Search for Truth: A Diagnostic Tale," Journal of Economic Surveys, Wiley Blackwell, vol. 8(4), pages 317-370, December.
    4. Marzio Galeotti & Alessandro Lanza, 1999. "Desperately Seeking (Environmental) Kuznets," Working Papers 1999.2, Fondazione Eni Enrico Mattei.
    5. Davidson, R. & MacKinnon & J.G., 1999. "Artificial Regressions," G.R.E.Q.A.M. 99a04, Universite Aix-Marseille III.
    6. Godfrey, L.G. & Santos Silva, J.M.C., 2007. "A note on variable addition tests for linear and log-linear models," Economics Letters, Elsevier, vol. 95(3), pages 422-427, June.
    7. Russell Davidson & James G. MacKinnon, 1988. "Specification Tests Based on Artificial Regressions," Working Paper 707, Economics Department, Queen's University.
    8. Davidson, Russell & MacKinnon, James G, 1988. "Double Length Artificial Regressions," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 50(2), pages 203-217, May.
    9. Baltagi, Badi H., 1997. "Testing linear and loglinear error components regressions against Box-Cox alternatives," Statistics & Probability Letters, Elsevier, vol. 33(1), pages 63-68, April.
    10. Carrión-Flores, Carmen E. & Innes, Robert, 2010. "Environmental innovation and environmental performance," Journal of Environmental Economics and Management, Elsevier, vol. 59(1), pages 27-42, January.
    11. Le, Ha Thi Thu & Vo, Xuan Vinh & Vo, Thi Thuc, 2021. "Accruals quality and the cost of debt: Evidence from Vietnam," International Review of Financial Analysis, Elsevier, vol. 76(C).
    12. Yue Zhao & Difang Wan, 2018. "Institutional high frequency trading and price discovery: Evidence from an emerging commodity futures market," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 38(2), pages 243-270, February.
    13. Simplice A. Asongu & Tii N. Nchofoung, 2021. "The terrorism-finance nexus contingent on globalisation and governance dynamics in Africa," Research Africa Network Working Papers 21/016, Research Africa Network (RAN).
    14. Jung‐Soon Shin & Minki Kim & Dongjun Oh & Tong Suk Kim, 2019. "Do hedge funds time market tail risk? Evidence from option‐implied tail risk," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 39(2), pages 205-237, February.
    15. Ahmed, M. Iqbal & Cassou, Steven P., 2021. "Asymmetries in the effects of unemployment expectation shocks as monetary policy shifts with economic conditions," Economic Modelling, Elsevier, vol. 100(C).
    16. Claire G.Gilmore & Brian Lucey & Ginette M.McManus, 2005. "The Dynamics of Central European Equity Market Integration," The Institute for International Integration Studies Discussion Paper Series iiisdp069, IIIS.
    17. Onishchenko, Olena & Zhao, Jing & Kongahawatte, Sampath & Kuruppuarachchi, Duminda, 2024. "Investor heterogeneity and anchoring-induced momentum," Journal of Behavioral and Experimental Finance, Elsevier, vol. 42(C).
    18. Khan, Anwar & Chenggang, Yang & Hussain, Jamal & Kui, Zhou, 2021. "Impact of technological innovation, financial development and foreign direct investment on renewable energy, non-renewable energy and the environment in belt & Road Initiative countries," Renewable Energy, Elsevier, vol. 171(C), pages 479-491.
    19. Su, Yuandong & Lu, Xinjie & Zeng, Qing & Huang, Dengshi, 2022. "Good air quality and stock market returns," Research in International Business and Finance, Elsevier, vol. 62(C).
    20. Chambers, Marcus J & Bailey, Roy E, 1996. "A Theory of Commodity Price Fluctuations," Journal of Political Economy, University of Chicago Press, vol. 104(5), pages 924-957, October.

    More about this item

    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:boc:lsug23:20. 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: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/stataea.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.