Rank: 346826 based on 0 downloads (last 30 days) and 0 file submitted
photo

Terry

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Terry
Updated File Comments Rating
09 Sep 2013 Inverse Percentiles of a sample. Calculates the non-exceedance probability (inverse of prctile) for xq values from sample of data x. Author: Durga Lal Shrestha

Nice one! Seems to work well.

Would be nice to add a check that if only one argin is entered (one column/vector) - then it calcs inverse prctile on each entry of the column/vector.

For example, I have a vector
myvector=[0.8 0.5 .2 0.6 0.8 0.5 0.3 0.6 0.9 1.3]'
and I want to find what percentile each corresponds to, so I run
invprctile(myvector,myvector)

It would be a bit cleaner to be able to just call invprctile(myvector)

Contact us