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

Sensible parameters for polynomials and other splines

Author

Listed:
  • Roger Newson

    (National Heart and Lung Institute, Imperial College London)

Abstract

Splines, including polynomials, are traditionally used to model nonlinear relationships involving continuous predictors. However, when they are included in linear models (or generalized linear models), the estimated parameters for polynomials are not easy for nonmathematicians to understand, and the estimated parameters for other splines are often not easy even for mathematicians to understand. It would be easier if the parameters were differences or ratios between the values of the spline at the reference points and the value of the spline at a base reference point or if the parameters were values of the polynomial or spline at reference points on the x-axis, or The bspline package can be downloaded from Statistical Software Components, and generates spline bases for inclusion in the design matrices of linear models, based on Schoenberg B-splines. The package now has a recently added module flexcurv, which inputs a sequence of reference points on the x-axis and outputs a spline basis, based on equally spaced knots generated automatically, whose parameters are the values of the spline at the reference points. This spline basis can be modified by excluding the spline vector at a base reference point and including the unit vector. If this is done, then the parameter corresponding to the unit vector will be the value of the spline at the base reference point, and the parameters corresponding to the remaining reference spline vectors will be differences between the values of the spline at the corresponding reference points and the value of the spline at the base reference point. The spline bases are therefore extensions, to continuous factors, of the bases of unit vectors and/or indicator functions used to model discrete factors. It is possible to combine these bases for different continuous and/or discrete factors in the same way, using product bases in a design matrix to estimate factor-value combination means and/or factor-value effects and/or factor interactions.

Suggested Citation

  • Roger Newson, 2011. "Sensible parameters for polynomials and other splines," United Kingdom Stata Users' Group Meetings 2011 01, Stata Users Group.
  • Handle: RePEc:boc:usug11:01
    as

    Download full text from publisher

    File URL: http://repec.org/usug2011/UK11_newson.pdf
    File Function: presentation materials
    Download Restriction: no

    File URL: http://repec.org/usug2011/UK11_newson_dofiles1.zip
    File Function: sample do-files
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Roger Newson, 2001. "Splines with parameters that can be explained in words to non-mathematicians," United Kingdom Stata Users' Group Meetings 2001 11, Stata Users Group.
    2. Roger Newson, 2001. "B-splines and splines parameterized by their values at reference points on the x-axis," Stata Technical Bulletin, StataCorp LP, vol. 10(57).
    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. Roger B. Newson, 2012. "Sensible parameters for univariate and multivariate splines," Stata Journal, StataCorp LP, vol. 12(3), pages 479-504, September.
    2. Roger Newson, 2014. "Easy-to-use packages for estimating rank and spline parameters," United Kingdom Stata Users' Group Meetings 2014 01, Stata Users Group.

    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. Francois Libois & Vincenzo Verardi, 2013. "Semiparametric fixed-effects estimator," Stata Journal, StataCorp LP, vol. 13(2), pages 329-336, June.
    2. Guriev, Sergei & Vakulenko, Elena, 2015. "Breaking out of poverty traps: Internal migration and interregional convergence in Russia," Journal of Comparative Economics, Elsevier, vol. 43(3), pages 633-649.
    3. Sergei Guriev & Elena Vakulenko, 2012. "Convergence between Russian regions," Working Papers w0180, New Economic School (NES).
    4. Young Ah Kim & Peter G. Moffatt, 2016. "Generalized additive modelling of the repayment performance of Korean borrowers," University of East Anglia School of Economics Working Paper Series 2016-03, School of Economics, University of East Anglia, Norwich, UK..
    5. Roger B. Newson, 2012. "Sensible parameters for univariate and multivariate splines," Stata Journal, StataCorp LP, vol. 12(3), pages 479-504, September.
    6. Sukhdeep Singh, 2024. "Investments in Innovations and Market Structure: A Semi-parametric Approach," South Asia Economic Journal, Institute of Policy Studies of Sri Lanka, vol. 25(1), pages 26-44, March.
    7. Bednarczyk Jan L. & Brzozowska-Rup Katarzyna, 2019. "Non-Decreasing Economic Growth Rate Of Inflation (Ndegri) In Light Of Empirical Studies," Econometrics. Advances in Applied Data Analysis, Sciendo, vol. 23(1), pages 9-18, March.
    8. Desbordes, Rodolphe & Verardi, Vincenzo, 2012. "Refitting the Kuznets curve," Economics Letters, Elsevier, vol. 116(2), pages 258-261.
    9. Zhu, Hui-Ming & You, Wan-Hai & Zeng, Zhao-fa, 2012. "Urbanization and CO2 emissions: A semi-parametric panel data analysis," Economics Letters, Elsevier, vol. 117(3), pages 848-850.
    10. Albert Wong & Pieter H. M. van Baal & Hendriek C. Boshuizen & Johan J. Polder, 2011. "Exploring the influence of proximity to death on disease‐specific hospital expenditures: a carpaccio of red herrings," Health Economics, John Wiley & Sons, Ltd., vol. 20(4), pages 379-400, April.

    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:boc:usug11:01. 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.