Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-1551

Compute Percentile with Weighted Samples

Rank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • 4.0
    • 4.0
    • None

    Description

      The class Percentile only support estimation on non-weighted samples.

      I've implement some function to estimate percentiles of weighted samples.

      here is the reference: https://stats.stackexchange.com/questions/13169/defining-quantiles-over-a-weighted-sample

       

      When all weights are equal to each other, it works like estimation on non-weighted samples under R-7.

      I can't find formulas for other rules but at least, now it can evaluate percentile for weighted samples.

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            iii-org-tw institute for information industry
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h

                Slack

                  Issue deployment