IDEAS home Printed from https://ideas.repec.org/a/kap/compec/v64y2024i6d10.1007_s10614-024-10558-9.html
   My bibliography  Save this article

Recalculate Without Recomputing

Author

Listed:
  • José Dias Curto

    (Instituto Universitário de Lisboa (ISCTE-IUL)
    Complexo INDEG/ISCTE)

Abstract

The available memory on a desktop or laptop computer can easily be exceeded by a large data set/stream when performing analytics or training machine learning algorithms. In this paper we propose simple methods to recalculate and update the value of descriptive statistics (averages, variance, coefficients of skewness and kurtosis) after rescaling, adding or excluding some observations. The coefficient of determination from regression analysis is also recalculated after deleting each sample observation. The objective is to avoid including all the observations (especially in a big data set/stream) when those statistics are recalculated. For this, only its previous value updated by the changed observations is needed, saving time in the respective calculation . Applications include GDP, stock prices of the ‘Magnificent Seven’ and Price-to-Earnings ratio.

Suggested Citation

  • José Dias Curto, 2024. "Recalculate Without Recomputing," Computational Economics, Springer;Society for Computational Economics, vol. 64(6), pages 3279-3294, December.
  • Handle: RePEc:kap:compec:v:64:y:2024:i:6:d:10.1007_s10614-024-10558-9
    DOI: 10.1007/s10614-024-10558-9
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10614-024-10558-9
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10614-024-10558-9?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
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Curto, José Dias & Serrasqueiro, Pedro, 2022. "Averaging financial ratios," Finance Research Letters, Elsevier, vol. 48(C).
    2. Christopher Ferrall, 2005. "Solving Finite Mixture Models: Efficient Computation in Economics Under Serial and Parallel Execution," Computational Economics, Springer;Society for Computational Economics, vol. 25(4), pages 343-379, June.
    3. José Dias Curto, 2022. "Averages: There is Still Something to Learn," Computational Economics, Springer;Society for Computational Economics, vol. 60(2), pages 755-779, August.
    Full references (including those not matched with items on IDEAS)

    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. Donghoon Lee & Matthew Wiswall, 2007. "A Parallel Implementation of the Simplex Function Minimization Routine," Computational Economics, Springer;Society for Computational Economics, vol. 30(2), pages 171-187, September.
    2. Aguirregabiria, Victor & Mira, Pedro, 2010. "Dynamic discrete choice structural models: A survey," Journal of Econometrics, Elsevier, vol. 156(1), pages 38-67, May.
    3. Alexander W. Cappelen & Karl Ove Moene & Erik Ø. Sørensen & Bertil Tungodden, 2008. "Rich Meets Poor - an International Fairness Experiment," CMI Working Papers 10, CMI (Chr. Michelsen Institute), Bergen, Norway.
    4. Christopher Ferrall, 2012. "Explaining and Forecasting Results of the Self-sufficiency Project," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 79(4), pages 1495-1526.
    5. Alexander W. Cappelen & James Konow & Erik ?. S?rensen & Bertil Tungodden, 2013. "Just Luck: An Experimental Study of Risk-Taking and Fairness," American Economic Review, American Economic Association, vol. 103(4), pages 1398-1413, June.
    6. Christopher Ferrall, 2023. "Object Oriented (Dynamic) Programming: Closing the “Structural” Estimation Coding Gap," Computational Economics, Springer;Society for Computational Economics, vol. 62(3), pages 761-816, October.
    7. Alexander W. Cappelen & Astri Drange Hole & Erik Ø Sørensen & Bertil Tungodden, 2007. "The Pluralism of Fairness Ideals: An Experimental Approach," American Economic Review, American Economic Association, vol. 97(3), pages 818-827, June.
    8. Cappelen, Alexander W. & Sørensen, Erik Ø. & Tungodden, Bertil, 2010. "Responsibility for what? Fairness and individual responsibility," European Economic Review, Elsevier, vol. 54(3), pages 429-441, April.
    9. Michael Creel & William Goffe, 2008. "Multi-core CPUs, Clusters, and Grid Computing: A Tutorial," Computational Economics, Springer;Society for Computational Economics, vol. 32(4), pages 353-382, November.
    10. Mahlatse Mabeba, 2022. "Parsimony and Liquidity Ratio Effects on Capital Markets: Evidence from South Africa," Eurasian Journal of Economics and Finance, Eurasian Publications, vol. 10(3), pages 94-104.
    11. Christopher Ferrall, 2020. "Object Oriented (Dynamic) Programming: Replication, Innovation and "Structural" Estimation," Working Paper 1432, Economics Department, Queen's University.
    12. Kyle Klein & Julian Neira, 2014. "Nelder-Mead Simplex Optimization Routine for Large-Scale Problems: A Distributed Memory Implementation," Computational Economics, Springer;Society for Computational Economics, vol. 43(4), pages 447-461, April.

    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:kap:compec:v:64:y:2024:i:6:d:10.1007_s10614-024-10558-9. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    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.