skip to main content

Algorithm 1023: Restoration of Function by Integrals with Cubic Integral Smoothing Spline in R

Published:26 May 2022Publication History
Skip Abstract Section

Abstract

In this paper, a cubic integral smoothing spline with roughness penalty for restoring a function by integrals is described. A mathematical method for building such a spline is described in detail. The method is based on cubic integral spline with a penalty function, which minimizes the sum of squares of the difference between the observed integrals of the unknown function and the integrals of the spline being constructed, plus an additional penalty for the nonlinearity (roughness) of the spline. This method has a matrix form, and this paper shows in detail how to fill in each matrix. The parameter \( \alpha \) governs the desired smoothness of the restored function. Spline knots can be chosen independently of observations, and a weight can be defined for each observation for more control over the resulting spline shape. An implementation in the R language as function int_spline is given. The function int_spline is easy to use, with all arguments completely described and corresponding examples given. An example of the application of the method in rare event analysis and forecasting is given.

Skip Supplemental Material Section

Supplemental Material

REFERENCES

  1. [1] Boor Carl De. 2001. A Practical Guide to Splines (Revised ed.). Springer Verlag, Berlin.Google ScholarGoogle Scholar
  2. [2] Brauer P., Fassler M., and Jaroniec M.. 1985. Numerical solutions of the adsorption integral equation utilizing the spline functions. Thin Solid Films 123, 3 (1985), 245272. Google ScholarGoogle ScholarCross RefCross Ref
  3. [3] Burova I. G. and Rodnikova O. V.. 2016. Application of integrodifferential splines to solving an interpolation problem. Computational Mathematics and Mathematical Physics. 54, 3 (2016), 1934. Google ScholarGoogle ScholarCross RefCross Ref
  4. [4] Chen Feng. 2018. ibs: Integral of B-Spline Functions. https://CRAN.R-project.org/package=ibs. R package version 1.4.Google ScholarGoogle Scholar
  5. [5] Cleroux Robert and McConalogue Denis J.. 1976. Numerical algorithm for recursively-defined convolution integrals involving distribution functions. Management Science 22, 10 (1976), 11381146.Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. [6] Craven P. and Wahba G.. 1978. Smoothing noisy data with spline functions - Estimating the correct degree of smoothing by the method of generalized cross-validation. Numer. Math. 31, 4 (1978), 377403. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. [7] Dagnino C., Dallefrate A., and Remogna S.. 2019. Spline quasi-interpolating projectors for the solution of nonlinear integral equations. J. Comput. Appl. Math. 354 (2019), 360372. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. [8] Fedorova O. P.. 2016. Method of creation of a spline with the integral equal to integral of function of two variables on area of its definition. Science Almanac (In Russian) 33, 1–3(15) (2016), 3135.Google ScholarGoogle Scholar
  9. [9] Gerritsma M.. 2011. Edge Functions for Spectral Element Methods. Lecture Notes in Computational Science and Engineering, Vol. 76 LNCSE. 199–207. Google ScholarGoogle ScholarCross RefCross Ref
  10. [10] Green P. J. and Silverman B. W.. 1994. Nonparametric Regression and Generalized Linear Models. A Roughness Penalty Approach. Chapman & Hall, New York.Google ScholarGoogle ScholarCross RefCross Ref
  11. [11] Hansen Per Christian. 1992. Analysis of discrete ill-posed problems by means of the L-curve. SIAM Rev. 34, 4 (1992), 561580. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. [12] Hansen Per Christian. 2001. The L-curve and its use in the numerical treatment of inverse problems. (2001), 119142.Google ScholarGoogle Scholar
  13. [13] Heckman N.. 2012. The theory and application of penalized methods or reproducing kernel Hilbert spaces made easy. Statistics Surveys 6, 1 (2012), 113141.Google ScholarGoogle Scholar
  14. [14] Hiemstra R. R., Toshniwal D., Huijsmans R. H. M., and Gerritsma M. I.. 2014. High order geometric methods with exact conservation properties. J. Comput. Phys. 257, PB (2014), 14441471. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. [15] Mueller Jennifer L. and Siltanen Samuli. 2012. Linear and nonlinear inverse problems with practical applications. Society for Industrial and Applied Mathematics, Philadelphia. Google ScholarGoogle ScholarCross RefCross Ref
  16. [16] Kimeldorf G. and Wahba G.. 1971. Some results on Tchebychefian spline functions. Journal Of Mathematical Analysis and Applications 33, 1 (1971), 8295. Google ScholarGoogle ScholarCross RefCross Ref
  17. [17] Kireev V. I. and Biryukova T. K.. 2014. Integro-Differential Information Processing Method and Its Application in Numerical Analysis. IPI RAS (In Russian), Moscow.Google ScholarGoogle Scholar
  18. [18] Kleiner G. B. and Rybachuk M. A.. 2016. System structure of the economy: Qualitative time-space analysis. Fronteiras 5, 2 (2016), 6181. Google ScholarGoogle ScholarCross RefCross Ref
  19. [19] Korablev Yu. A.. 2015. Capacity method determination consumption rate function. Ekonomika i Menedzhment Sistem Upravleniya (In Russian) 15, 1.1 (2015), 140150.Google ScholarGoogle Scholar
  20. [20] Korablev Yu. A.. 2017. The causes analysis and error estimation of the anomalous pictures in the capacity method for the analysis of rare events. Ekonomika i Upravlenie: Problemy, Resheniya (In Russian) 8, 6 (2017), 812.Google ScholarGoogle Scholar
  21. [21] Korablev Yu. A.. 2019. Error of the capacity method of rare events analysis, remoteness from the end user. The News of KBSC of RAS. (In Russian) 3, 89 (2019), 4877. Google ScholarGoogle ScholarCross RefCross Ref
  22. [22] Korablev Yu. A.. 2020. Accuracy research of the capacity method for analyzing rare events from uncertainty within the process of event formation (Part 1). The News of KBSC of RAS. (In Russian) 97, 5 (2020), 4967. Google ScholarGoogle ScholarCross RefCross Ref
  23. [23] Korablev Yu. A.. 2020. The function restoration method by integrals for analysis and forecasting of rare events in the economy. Economics and Mathematical Methods. (In Russian) 56, 3 (2020), 113124. Google ScholarGoogle ScholarCross RefCross Ref
  24. [24] Morozov V. A.. 1984. Methods for Solving Incorrectly Posed Problems. Springer-Verlag, New York. Google ScholarGoogle ScholarCross RefCross Ref
  25. [25] Piegl Les A. and Tiller Wayne. 2003. Circle approximation using integral B-splines. Computer-Aided Design 35, 6 (2003), 601607. Google ScholarGoogle ScholarCross RefCross Ref
  26. [26] Quinn B. G. and Fernandes J. M.. 1991. A fast efficient technique for the estimation of frequency. Biometrika 78, 3 (1991), 489497.Google ScholarGoogle ScholarCross RefCross Ref
  27. [27] Quinn B. G. and Hannan E. J.. 2001. The Estimation and Tracking of Frequency. Cambridge University Press, Cambridge.Google ScholarGoogle ScholarCross RefCross Ref
  28. [28] Rasmussen L. A.. 1991. Piecewise integral splines of low degree. Computers and Geosciences 17, 9 (1991), 12551263. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. [29] Reinsch C. M.. 1967. Smoothing by spline functions. Numer. Math10 (1967), 177183.Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. [30] Samoilova E. N.. 2001. Spline collocation for singular integro-differential equation. Izv. Vyssh. Uchebn. Zaved. Mat. (In Russian). 54, 11 (2001), 3545.Google ScholarGoogle Scholar
  31. [31] Wang Wenjie and Yan Jun. 2018. splines2: Regression Spline Functions and Classes. https://CRAN.R-project.org/package=splines2. R package version 0.2.8.Google ScholarGoogle Scholar
  32. [32] Xian J., Li Y., and Lin W.. 2004. Reconstruction of signal from samples of its integral in spline subspaces. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)3037 (2004), 574577.Google ScholarGoogle Scholar
  33. [33] Zemlyanova Anna Y. and Machina Alexia. 2020. A new B-spline collocation method for singular integro-differential equations of higher orders. J. Comput. Appl. Math. 380 (2020), 112949. Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. Algorithm 1023: Restoration of Function by Integrals with Cubic Integral Smoothing Spline in R

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Full Text

      View this article in Full Text.

      View Full Text

      HTML Format

      View this article in HTML Format .

      View HTML Format