Entry SAS Flashcards
1
Q
Code to set a LIBREF
A
LIBNAME [name] [file location];
2
Q
Code to create a new dataset
A
DATA [new-dataset];
SET [old-dataset];
RUN;
3
Q
Code to run basic univariate analysis
A
PROC UNIVARIATE DATA = [dataset];
PLOTS normal;
VAR [variable];
HISTOGRAM;
QQPLOT;
RUN;
4
Q
Code to run basic t-test
A
PROC TTEST DATA = [dataset];
VAR [test variable];
CLASS [grouping variable];
RUN;