IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v057i14.html

truncSP: An R Package for Estimation of Semi-Parametric Truncated Linear Regression Models

Author

Listed:
  • Karlsson, Maria
  • Lindmark, Anita

Abstract

Problems with truncated data occur in many areas, complicating estimation and inference. Regarding linear regression models, the ordinary least squares estimator is inconsistent and biased for these types of data and is therefore unsuitable for use. Alternative estimators, designed for the estimation of truncated regression models, have been developed. This paper presents the R package truncSP. The package contains functions for the estimation of semi-parametric truncated linear regression models using three different estimators: the symmetrically trimmed least squares, quadratic mode, and left truncated estimators, all of which have been shown to have good asymptotic and finite sample properties. The package also provides functions for the analysis of the estimated models. Data from the environmental sciences are used to illustrate the functions in the package.

Suggested Citation

  • Karlsson, Maria & Lindmark, Anita, 2014. "truncSP: An R Package for Estimation of Semi-Parametric Truncated Linear Regression Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 57(i14).
  • Handle: RePEc:jss:jstsof:v:057:i14
    DOI: http://hdl.handle.net/10.18637/jss.v057.i14
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v057i14/v57i14.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v057i14/truncSP_1.2.2.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v057i14/v57i14.R
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v057.i14?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Powell, James L, 1986. "Symmetrically Trimmed Least Squares Estimation for Tobit Models," Econometrica, Econometric Society, vol. 54(6), pages 1435-1460, November.
    2. Paulsen, Jostein & Lunde, Astrid & Skaug, Hans Julius, 2008. "Fitting mixed-effects models when data are left truncated," Insurance: Mathematics and Economics, Elsevier, vol. 43(1), pages 121-133, August.
    3. Davidson, Russell & MacKinnon, James G., 1993. "Estimation and Inference in Econometrics," OUP Catalogue, Oxford University Press, number 9780195060119.
    4. Newey, Whitney K., 2001. "Conditional Moment Restrictions In Censored And Truncated Regression Models," Econometric Theory, Cambridge University Press, vol. 17(5), pages 863-888, October.
    5. Karlsson, Maria & Cantoni, Eva & de Luna, Xavier, 2009. "Local polynomial regression with truncated or censored response," Working Paper Series 2009:25, IFAU - Institute for Evaluation of Labour Market and Education Policy.
    6. Aldrin, Magne, 2006. "Improved predictions penalizing both slope and curvature in additive models," Computational Statistics & Data Analysis, Elsevier, vol. 50(2), pages 267-284, January.
    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. Y. Andriyana & I. Gijbels & A. Verhasselt, 2018. "Quantile regression in varying-coefficient models: non-crossing quantile curves and heteroscedasticity," Statistical Papers, Springer, vol. 59(4), pages 1589-1621, December.

    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. Karlsson, Maria & Laitila, Thomas, 2008. "A semiparametric regression estimator under left truncation and right censoring," Statistics & Probability Letters, Elsevier, vol. 78(16), pages 2567-2571, November.
    2. John Mullahy & Jody L. Sindelar, 1995. "Health, Income, and Risk Aversion: Assessing Some Welfare Costs of Alcoholism and Poor Health," Journal of Human Resources, University of Wisconsin Press, vol. 30(3), pages 439-459.
    3. Golan, Amos & Judge, George & Perloff, Jeffrey, 1997. "Estimation and inference with censored and ordered multinomial response data," Journal of Econometrics, Elsevier, vol. 79(1), pages 23-51, July.
    4. Chen, Songnian & Zhou, Xianbo, 2012. "Semiparametric estimation of a truncated regression model," Journal of Econometrics, Elsevier, vol. 167(2), pages 297-304.
    5. Qi Li & Jeffrey Scott Racine, 2006. "Nonparametric Econometrics: Theory and Practice," Economics Books, Princeton University Press, edition 1, volume 1, number 8355, December.
    6. Ariel Pakes & Jack Porter, 2024. "Moment inequalities for multinomial choice with fixed effects," Quantitative Economics, Econometric Society, vol. 15(1), pages 1-25, January.
    7. Giuseppe Croce & Emanuela Ghignoni, 2011. "Overeducation and spatial flexibility in Italian local labour markets," Working Papers in Public Economics 145, Department of Economics and Law, Sapienza University of Rome.
    8. Jongeneel, Roelof A. & Ge, Lan, 2005. "Explaining Growth in Dutch Agriculture: Prices, Public R&D, and Technological Change," 2005 International Congress, August 23-27, 2005, Copenhagen, Denmark 24573, European Association of Agricultural Economists.
    9. Verdier Valentin, 2018. "Local Semi-Parametric Efficiency of the Poisson Fixed Effects Estimator," Journal of Econometric Methods, De Gruyter, vol. 7(1), pages 1-10, January.
    10. Barnett, William A. & Serletis, Apostolos, 2008. "Consumer preferences and demand systems," Journal of Econometrics, Elsevier, vol. 147(2), pages 210-224, December.
    11. Hany Eldemerdash & Hugh Metcalf & Sara Maioli, 2014. "Twin deficits: new evidence from a developing (oil vs. non-oil) countries’ perspective," Empirical Economics, Springer, vol. 47(3), pages 825-851, November.
    12. Rao, Surekha & Ghali, Moheb & Krieg, John, 2008. "On the J-test for nonnested hypotheses and Bayesian extension," MPRA Paper 14637, University Library of Munich, Germany.
    13. Schimmelpfennig, Axel, 1998. "The celtic tiger faces the factor price frontier: Labour market adjustment in Ireland," Kiel Working Papers 855, Kiel Institute for the World Economy.
    14. Saul Lach & Mark Schankerman, 2008. "Incentives and invention in universities," RAND Journal of Economics, RAND Corporation, vol. 39(2), pages 403-433, June.
    15. NEIFAR, MALIKA & HarzAllah, AMIRA, 2025. "Integration, Contagion and Turmoils; Evidence from Emerging markets," MPRA Paper 123775, University Library of Munich, Germany, revised 25 Feb 2025.
    16. Maria Iacovou, 2002. "Class Size in the Early Years: Is Smaller Really Better?," Education Economics, Taylor & Francis Journals, vol. 10(3), pages 261-290.
    17. Maarten A. Allers & Corine Hoeben, 2010. "Effects of Unit-Based Garbage Pricing: A Differences-in-Differences Approach," Environmental & Resource Economics, Springer;European Association of Environmental and Resource Economists, vol. 45(3), pages 405-428, March.
    18. C. Lanier Benkard, 2000. "Learning and Forgetting: The Dynamics of Aircraft Production," American Economic Review, American Economic Association, vol. 90(4), pages 1034-1054, September.
    19. Bergman, Mats A. & Johansson, Per & Bergman, M.A., 2002. "Large investments in the pulp and paper industry: a count data regression analysis," Journal of Forest Economics, Elsevier, vol. 8(1), pages 29-52.
    20. Nguyen, Bach & Tran, Hai-Anh & Stephan, Ute & Van, Ha Nguyen & Anh, Pham Thi Hoang, 2024. "“I can't get it out of my mind” - Why, how, and when crisis rumination leads entrepreneurs to act and pivot during crises," Journal of Business Venturing, Elsevier, vol. 39(4).

    More about this item

    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:jss:jstsof:v:057:i14. 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: http://www.jstatsoft.org/ .

    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.