BookmarkSubscribeRSS Feed
shaher
Fluorite | Level 6

About " examine extreme observations to identify potential outliers" 

 

Is this code, right? 

 

proc univariate data=dt1;
var AGE BMI CD4ct HIVrnaLev FMD CRP HDLC;
ID AGE BMI CD4ct HIVrnaLev FMD CRP HDLC;
run;

 

 

and I don't know how to find "  if normality if not violated, generate mean (SD). if normality is violated, generate median (IQR) "

 

Capture.PNG

1 REPLY 1
ballardw
Super User

@shaher wrote:

About " examine extreme observations to identify potential outliers" 

 

Is this code, right? 

 

proc univariate data=dt1;
var AGE BMI CD4ct HIVrnaLev FMD CRP HDLC;
ID AGE BMI CD4ct HIVrnaLev FMD CRP HDLC;
run;

 

 

and I don't know how to find "  if normality if not violated, generate mean (SD). if normality is violated, generate median (IQR) "

 

Capture.PNG


By adding NORMAL to the proc statement the procedure will display some normatlity test statistics.

IQR is one of the default statistics.

 

Then USE or report the ones you want based on the normality assessment you make.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 463 views
  • 1 like
  • 2 in conversation