BookmarkSubscribeRSS Feed
njdempster
Calcite | Level 5

Hi,

 

I am unfamiliar with SAS and trying to calculate the incremental area under the curve. I normally use SPSS and have been unable to find syntax to do so using that program. I did, however, find the below guide that offers syntax to calculate AUC by three different approaches here:

 

https://www.lexjansen.com/wuss/2004/posters/c_post_the_sas_calculations_.pdf

 

The method I am particularly keen to use is the "positive incremental area under the curve" one. I have downloaded SAS and am managing to successfully calculate the total AUC using the example data and code in the link above. I am, however, struggling to get it to work using the code required for the alternative methods such as iAUC

 

I'd be very grateful if anyone could paste the code as it should be entered into SAS to determine the iAUC. I have also pasted a sample of the data from my study (left column is time in minutes, right column is glucose concentration in response to a standardised meal) that is representative of what I'd like to calculate iAUC on if helpful:

 

04.746
156.688
307.053
456.953
605.483
904.654
1204.532
1804.455
2404.393
3004.295
3604.621

 

Any pointers would be much appreciated and apologies if this is very basic. 


BW,

 

Niall

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 0 replies
  • 4295 views
  • 0 likes
  • 1 in conversation