Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-52739

Numerical stability issue in StdDev functions

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Querying
    • None
    • Fully Compatible
    • ALL
    • Query 2020-11-30

    Description

      When computing a standard deviation of a large number of repeating values, there is a precision loss. The result is not  as it is mathematically correct, but a small number (e.g. order of 10^-10).

       

      Attachments

        Activity

          People

            svilen.mihaylov@mongodb.com Svilen Mihaylov (Inactive)
            svilen.mihaylov@mongodb.com Svilen Mihaylov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: