Home > C# Programming Tips > Find Percentile Of N Numbers using c#

Find Percentile Of N Numbers using c#

In Excel we had a formula to find the percentile of n numbers for a given percentile value…I  want to implement the same in some place of my code  and when i am looking for an algorithm  i cant able to find any satisfactory solution and i decided to write an algorithm of my own.

The basic definition of Percentile and examples to find percentile can be found here
Link For Percentile

Note:Accuracy of this algorithm (Deviation of 0.0001 from the result of excel sheet percentile function)
Download Code From here and copy paste to your editor
find percentile using c#

Advertisements
Categories: C# Programming Tips
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: