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) "
@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) "
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.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.