Solved

Percentile 99 and Percentile 01

Posted on 2003-10-31
3
342 Views
Last Modified: 2012-05-04
How do I calculate the Percentile 99 and Percentile 01 in the Access Database? I see that we have the PERCENTILE worksheet function, but it takes an array of a maximum of 8191 data points. My need is to calculate the P99 and P01 for more than 60000 data points.
0
Comment
Question by:tmagesh
  • 2
3 Comments
 
LVL 8

Expert Comment

by:HaydnH
ID: 9657670
You can list the top N % using the TOP predicate in SQL... So to calculate the top 1% you would use:

  SELECT TOP 1 PERCENT ScoreField FROM MyTable ORDER BY Score;

And to list the bottom 1% you would use:

  SELECT TOP 1 PERCENT ScoreField FROM MyTable ORDER BY Score DESC;


Haydn.
0
 
LVL 8

Accepted Solution

by:
HaydnH earned 125 total points
ID: 9657806
Sorry, those 2 are the wrong way around - include the DESC to get the TOP 1%, exclude the DESC for the bottom 1%

Haydn.
0
 
LVL 39

Expert Comment

by:stevbe
ID: 10012498
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: HaydnH {http:#9657806}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

stevbe
EE Cleanup Volunteer
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now