IDEAS home Printed from https://ideas.repec.org/p/luc/wpaper/25-09.html
   My bibliography  Save this paper

Step size selection in numerical differences using a regression kink

Author

Listed:
  • Andreï Kostyrka

    (DEM, Université du Luxembourg)

Abstract

We propose a new step-size selection procedure for numerical differences based on fitting a piecewise linear shape to the observed estimate of truncation error and determining the position of its kink. The novelty of this method is in its use of the full information about the estimated total error behaviour at both sides around the optimum and in the incorporation of robust statistical tools for estimating the best V-shaped fit. The added safety checks ensure that the kink is detected if it exists, or a reasonable step size is returned in the case there is no kink. In numerical simulations, the proposed method algorithmoutperforms two existing algorithms in terms of median error when tested on 5 well-behaved and 3 pathological function

Suggested Citation

  • Andreï Kostyrka, 2025. "Step size selection in numerical differences using a regression kink," DEM Discussion Paper Series 25-09, Department of Economics at the University of Luxembourg.
  • Handle: RePEc:luc:wpaper:25-09
    as

    Download full text from publisher

    File URL: https://orbilu.uni.lu/handle/10993/64958
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    numerical differentiation; error analysis; optimal step size; floating-point arithmetic; finite differences.;
    All these keywords.

    JEL classification:

    • C6 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling
    • C61 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Optimization Techniques; Programming Models; Dynamic Analysis
    • C65 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Miscellaneous Mathematical Tools

    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:luc:wpaper:25-09. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Marina Legrand (email available below). General contact details of provider: https://edirc.repec.org/data/crcrplu.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.