DATA Step, Macro, Functions and more

CKD-EPI Creatinine in sas

Posts: 32

CKD-EPI Creatinine in sas

[ Edited ]

Hi Friends,


I want to calculate the EPI value in my table (EPI_Creatinine) by using the formula of 


CKD-EPI Creatinine = A × (Scr/B)C × 0.993age              (C and age - PowerOf ^)


 Note : Scr = creatinie column.

For example : (Female who Scr <=0.7)                     144 * (Cre/0.7)^-0.329 * 0.993^age(column)        

Like wise it differ from each category. Hope you guys understand.




I want to categorize it by Gender with the specified value.

You want me to be more honest, I have no idea about it how to calulate in SAS.


Please help me to solve(code) any one of the category.

Super User
Posts: 10,278

Re: CKD-EPI Creatinine in sas

Posted in reply to Sathish_jammy

Start by presenting us an example for the data that you now have (use a data step with datalines, so we just need to copy/paste and submit the code to get and identical dataset for playing around).

Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation