This tutorial explains various ways to calculate z-score in SAS.
The formula of z-score is as follows:
Z = (X – μ) / σ
X is a raw data value
μ is the mean of a variable
σ is the standard deviation of a variable
To read this article in full, please click here