O'Reilly logo

SAS® Guide to Report Writing: Examples, Second Edition by Michele M. Burlew

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Example 2.9. Listing the Rank and Percentile for Each Observation

Goal

Rank the observations in a data set based on the value of a numeric variable. Determine the quartile based on the value of a numeric variable. List the observations and their ranks and quartiles.

Report

                     Official Results of Boston
 Marathon 1980-2004                                  1
                 With Winning Times Ranked from
 Fastest(1) to Slowest(N)

                                     Women's Division

          Year  Winner                  Country   
 Time Order Quartile 1980 Jacqueline ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required