BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
DataDev2020
Calcite | Level 5

Hi,

 

The following code would fx. result in af normalised value of 1.8414202783 for original values of 1,000,000.

 

proc rank data=input_csv normal=BLOM out=output_ranks;
var DEBT_EBITDA_rec;
ranks rank1;
run;

 

However when calculating the normalised values manually (used in different setup) I end up with a value of 1.734508.

 

In SAS my proces would be something like:

 

#Calculate simple ranks with TIES=MEAN -> results in a rank of 2,885 for the value 1,000,000

proc rank data=input_csv out=simpleRankTest;
var DEBT_EBITDA_REC;
ranks rank1;

 

#Total non-negative observations are 3,009, meaning that I should be able to use the formula (from SAS documentation):

probit(2,885-(3/8)/3,009-(1/4)) = probit(0.95..) = 1.7345..
run;

 

What do I not see? Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
FreelanceReinh
Jade | Level 19

Hi @DataDev2020 and welcome to the SAS Support Communities!

 

You have first calculated the mean rank for each of the 249 observations with DEBT_EBITDA_rec=1000000 and then used these equal values r1=...=r249=2885 in the formula for the Blom normal scores (also note the plus sign in the denominator). But SAS uses the "raw" ranks, i.e., r1=2761, r2=2762, ..., r249=3009 and then computes the mean of the resulting normal scores.

 

This is consistent with the documentation of the TIES= option:

MEAN

assigns the mean of the corresponding rank (or mean of the normal scores when NORMAL= is specified)

 

View solution in original post

2 REPLIES 2
FreelanceReinh
Jade | Level 19

Hi @DataDev2020 and welcome to the SAS Support Communities!

 

You have first calculated the mean rank for each of the 249 observations with DEBT_EBITDA_rec=1000000 and then used these equal values r1=...=r249=2885 in the formula for the Blom normal scores (also note the plus sign in the denominator). But SAS uses the "raw" ranks, i.e., r1=2761, r2=2762, ..., r249=3009 and then computes the mean of the resulting normal scores.

 

This is consistent with the documentation of the TIES= option:

MEAN

assigns the mean of the corresponding rank (or mean of the normal scores when NORMAL= is specified)

 

DataDev2020
Calcite | Level 5

I'm embarrassed - much appreciated @FreelanceReinh 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1678 views
  • 4 likes
  • 2 in conversation