IDEAS home Printed from https://ideas.repec.org/p/mcm/deptwp/2012-06.html
   My bibliography  Save this paper

Spline Regression in the Presence of Categorical Predictors

Author

Listed:
  • Shujie Ma
  • Jeffrey S. Racine
  • Lijian Yang

Abstract

We consider the problem of estimating a relationship nonparametrically using regression splines when there exist both continuous and categorical predictors. We combine the global properties of regression splines with the local properties of categorical kernel functions to handle the presence of categorical predictors rather than resorting to sample splitting as is typically done to accommodate their presence. The resulting estimator possesses substantially better nite-sample performance than either its frequency-based peer or cross-validated local linear kernel regression or even additive regression splines (when additivity does not hold). Theoretical underpinnings are provided and Monte Carlo simulations are undertaken to assess nite-sample behavior, and two illustrative applications are provided. An implementation in R (R Core Team (2012)) is available; see the R package 'crs' for details (Racine & Nie (2012)).

Suggested Citation

  • Shujie Ma & Jeffrey S. Racine & Lijian Yang, 2012. "Spline Regression in the Presence of Categorical Predictors," Department of Economics Working Papers 2012-06, McMaster University.
  • Handle: RePEc:mcm:deptwp:2012-06
    as

    Download full text from publisher

    File URL: http://socserv.mcmaster.ca/econ/rsrch/papers/archive/2012-06.pdf
    Download Restriction: no

    Other versions of this item:

    References listed on IDEAS

    as
    1. Racine, Jeff & Li, Qi, 2004. "Nonparametric estimation of regression functions with both categorical and continuous data," Journal of Econometrics, Elsevier, vol. 119(1), pages 99-130, March.
    2. Liu, Rong & Yang, Lijian, 2010. "Spline-Backfitted Kernel Smoothing Of Additive Coefficient Model," Econometric Theory, Cambridge University Press, vol. 26(1), pages 29-59, February.
    3. Qi Li & Jeffrey Scott Racine, 2006. "Nonparametric Econometrics: Theory and Practice," Economics Books, Princeton University Press, edition 1, number 8355.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Georgios Gioldasis & Antonio Musolesi & Michel Simioni, 2020. "Model uncertainty, nonlinearities and out-of-sample comparison: evidence from international technology diffusion," Working Papers hal-02790523, HAL.
    2. Paudel, Krishna P. & Lin, C.-Y. Cynthia & Pandit, Mahesh, 2014. "Environmental Kuznets Curve for Water Quality Parameters at Global Level," 2014 Annual Meeting, February 1-4, 2014, Dallas, Texas 162618, Southern Agricultural Economics Association.
    3. Christopher F. Parmeter & Jeffrey S. Racine, 2018. "Nonparametric Estimation and Inference for Panel Data Models," Department of Economics Working Papers 2018-02, McMaster University.
    4. Daniel J. Henderson & Anne-Charlotte Souto, 2018. "An Introduction to Nonparametric Regression for Labor Economists," Journal of Labor Research, Springer, vol. 39(4), pages 355-382, December.
    5. Massimiliano Mazzanti & Antonio Musolesi, 2020. "Modeling Green Knowledge Production and Environmental Policies with Semiparametric Panel Data Regression models," SEEDS Working Papers 1420, SEEDS, Sustainability Environmental Economics and Dynamics Studies, revised Sep 2020.
    6. Jean-Thomas Bernard & Michael Gavin & Lynda Khalaf & Marcel Voia, 2015. "Environmental Kuznets Curve: Tipping Points, Uncertainty and Weak Identification," Environmental & Resource Economics, Springer;European Association of Environmental and Resource Economists, vol. 60(2), pages 285-315, February.
    7. Pandit, Mahesh & Paudel, Krishna P. & Williams, Deborah, 2014. "Effect of Remittance on Intensity of Agricultural Technology Adoption in Nepal," 2014 Annual Meeting, February 1-4, 2014, Dallas, Texas 162692, Southern Agricultural Economics Association.
    8. Jeffrey S. Racine & Qi Li & Li Zheng, 2018. "Optimal Model Averaging of Mixed-Data Kernel-Weighted Spline Regressions," Department of Economics Working Papers 2018-10, McMaster University.
    9. Clingingsmith, David, 2016. "Negative Emotions, Income, and Welfare: Casual Estimates from the PSID," SocArXiv fae4x, Center for Open Science.
    10. Shujie Ma & Jeffrey S. Racine & Aman Ullah, 2015. "Nonparametric Regression-Spline Random Effects Models," Department of Economics Working Papers 2015-10, McMaster University.
    11. Georgios Gioldasis & Antonio Musolesi & Michel Simioni, 2018. "Nonparametric estimation of international R&D spillovers," SEEDS Working Papers 0318, SEEDS, Sustainability Environmental Economics and Dynamics Studies, revised Mar 2018.
    12. Georgios Gioldasis & Antonio Musolesi & Michel Simioni, 2020. "Model uncertainty, nonlinearities and out-of-sample comparison: evidence from international technology diffusion," SEEDS Working Papers 0120, SEEDS, Sustainability Environmental Economics and Dynamics Studies, revised Jan 2020.
    13. Quiroz, Matias & Villani, Mattias & Kohn, Robert, 2015. "Speeding Up Mcmc By Efficient Data Subsampling," Working Paper Series 297, Sveriges Riksbank (Central Bank of Sweden).
    14. Massimiliano Mazzanti & Antonio Musolesi, 2020. "A Semiparametric Analysis of Green Inventions and Environmental Policies," SEEDS Working Papers 0920, SEEDS, Sustainability Environmental Economics and Dynamics Studies, revised Jun 2020.
    15. Nicholas M. Kiefer & Jeffrey S. Racine, 2017. "The smooth colonel and the reverend find common ground," Econometric Reviews, Taylor & Francis Journals, vol. 36(1-3), pages 241-256, March.
    16. Georgios Gioldasis & Antonio Musolesi & Michel Simioni, 2019. "Nonparametric estimation of R&D international spillovers," Post-Print hal-02789474, HAL.
    17. Antonio Musolesi & Michel Simioni & Georgios Gioldasis, 2018. "Nonparametric estimation of international R&D spillovers," Working Papers 2018037, University of Ferrara, Department of Economics.
    18. Shujie Ma & Jeffrey S. Racine, 2012. "Additive Regression Splines With Irrelevant Categorical and Continuous Regressors," Department of Economics Working Papers 2012-07, McMaster University.
    19. Clingingsmith, David, 2017. "Negative Emotions, Income, and Welfare: Causal Estimates from the PSID," SocArXiv q2mxt, Center for Open Science.
    20. Shintaro Yamaguchi, 2013. "Changes in Returns to Task-Specific Skills and Gender Wage Gap," Global COE Hi-Stat Discussion Paper Series gd12-275, Institute of Economic Research, Hitotsubashi University.
    21. Lien, Donald & Hu, Yue & Liu, Long, 2017. "A note on using ratio variables in regression analysis," Economics Letters, Elsevier, vol. 150(C), pages 114-117.
    22. Geraldine Henningsen & Arne Henningsen & Christian Henning, 2015. "Transaction costs and social networks in productivity measurement," Empirical Economics, Springer, vol. 48(1), pages 493-515, February.
    23. Richard D. Payne & Bani K. Mallick, 2018. "Two-Stage Metropolis-Hastings for Tall Data," Journal of Classification, Springer;The Classification Society, vol. 35(1), pages 29-51, April.
    24. Jeffrey S. Racine, 2016. "A Correction to "Generalized Nonparametric Smoothing with Mixed Discrete and Continuous Data" by Li, Simar & Zelenyuk (2014, CSDA)," Department of Economics Working Papers 2016-01, McMaster University.

    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:mcm:deptwp:2012-06. 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: (). General contact details of provider: http://edirc.repec.org/data/demcmca.html .

    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.