Adjusted Ranking with suspended data.

I've a table:
R=RANK T=Time Failure C=logical (0=false;1=true)
I want to calculate the adjusted rank for C = true
Math used for that is:
  • rj: being the adjusted rank
  • n: total failures.
  • qj: rank of the actual failure (C= true)
Math wise this isn't the challenge. I am having issues with getting this math translated into Matlab. if somebody could help with this then that would be awesome. I am just stuck at this point.
The adjusted ranks will eventually being used in Benard's Approximation to determine the median ranking.
Again any help would be appreciated.

1 Comment

You need to loop over the table twice, first to find the total number of failures, and the second time for calculating the adjusted ranks.

Sign in to comment.

Answers (0)

Asked:

on 8 Mar 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!