Command Reference : Matrix Language Reference
  
 
@pctiles
Syntax: @pctiles(o[, ties])
Argument 1: vector or matrix, o
Argument 2: (optional) string, ties
Return: vector or matrix
Similar to @ranks, but returns the percentile of each element within the vector or matrix o. Equivalent to @100 * @ranks(0, “a”, ties) / @obs(o).
See also @colpctiles.