Uploaded image for project: 'Commons Statistics'
  1. Commons Statistics
  2. STATISTICS-52

High precision PDF for the Normal distribution

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • 1.0
    • 1.0
    • distribution
    • None

    Description

      The normal distribution PDF is computed using:

       

      Math.exp(-0.5 * x * x) / Math.sqrt(2 * Math.PI)
      

      The value x^2 can be computed to extended precision. This extra information in the round-off bits can increase the accuracy of the exponential function (see NUMBERS-177 under the title 'Accurate scaling by exp(z*z)').

       

      The effect of including the round-off bits on both accuracy and speed should be investigated.

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            aherbert Alex Herbert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment