Step size selection in numerical differences using a regression kink
Andreï Kostyrka
DEM Discussion Paper Series from Department of Economics at the University of 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
Keywords: numerical differentiation; error analysis; optimal step size; floating-point arithmetic; finite differences. (search for similar items in EconPapers)
JEL-codes: C6 C61 C65 (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:
Downloads: (external link)
https://orbilu.uni.lu/handle/10993/64958 (application/pdf)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:luc:wpaper:25-09
Access Statistics for this paper
More papers in DEM Discussion Paper Series from Department of Economics at the University of Luxembourg Contact information at EDIRC.
Bibliographic data for series maintained by Marina Legrand ().