Skip to Main Content



The %PCTL9 macro is intended to make any desired number of quantiles for a list of variables. It can also make quantile indicators and median-score trend variables. A subset of the data can be used to determine the quantile boundaries.

  • SAS: Program SAS code to run pctl9 macro.
  • SAS: Documentation PDF instructions for using pctl9 macro.