Skip to content

IBMPredictiveAnalytics/Hagen_Percentile_Ranking

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 3 commits ahead of blacknred0:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Hagen Ranking

================= Percentile ranking based on book "Introductory Statistics: Concepts, Models, and Applications by David W. Stockburger".

Ranking formula for Hagen could be found in this link

PR=Probability Ranking

Fb=Frequency below -> is the frequency below; the number of scores which are less than the score value of the percentile rank

Fw=Frequency within -> is the frequency within; the number of scores which have the same value as the score value of the percentile rank

N=Number of scores

PR = ((Fb + (1/2 * Fw)) / N) * 100


Requirements

  • IBM SPSS Modeler v16 or later
  • ‘R Essentials for SPSS Modeler’ plugin: Download here
  • R 2.15.x, 3.1, or 3.2 (depending on version - use this link to find the correct version)

Installation instructions

  1. Download the extension: Download
  2. Close IBM SPSS Modeler. Save the .cfe file in the CDB directory, located by default on Windows in "C:\ProgramData\IBM\SPSS\Modeler\16\CDB" or under your IBM SPSS Modeler installation directory.
  3. Restart IBM SPSS Modeler, the node will now appear in the Field Ops palette.

R Packages Used


Screenshots

  1. Node high-level overview Image main view

  2. Raw data table Raw data

  3. Within node Node options

  4. Results after processing Results after ranking


Issues

None at the time.


How to contribute

See TODO for list of enhancements that could be made.


License

This sample code is licensed under Apache 2.0. Full license text is available in LICENSE.


Open Source @ IBM

Find more open source projects on the IBM Github Page

About

Percentile ranking based on book 'Introductory Statistics: Concepts, Models, and Applications by David W. Stockburger'.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%