solutions
SAS stands for - correct answer ✔✔ Statistical Analysis System
4 data-driven tasks for SAS - correct answer ✔✔ data access, data management, data analysis,
data presentation
file extension for (log file, code, output, dataset) - correct answer ✔✔ .log, .sas, .out, .sas7bdat
3 ways to create sas dataset - correct answer ✔✔ from scratch, from raw dataset, from existing
sas dataset
4 uses for data statements - correct answer ✔✔ create SAS dataset from scratch, create SAS
dataset from raw dataset, check for and correct errors in a dataset, create a SAS dataset from
existing SAS datasets
5 uses for proc statements - correct answer ✔✔ create report that lists data, produce
descriptive statistics, create summary report, produce plots and charts, produce other SAS
datasets
base date for sas dates - correct answer ✔✔ January 1, 1960
the sas variable (name/value) is case sensitive, but the sas varaible (name/value) is not case
sensitive. - correct answer ✔✔ value, name
default length of all sas variables - correct answer ✔✔ 8
, number of digits sas can hold for numeric variable values before converting them to scientific
notation - correct answer ✔✔ 12
keyword used in proc sort to keep dataset in original order - correct answer ✔✔ out
proc sort data = ia.employee out = ia.employee_sorted;
by x;
run;
keyword used in proc sort to remove observations that have repeat values for every variable
example - correct answer ✔✔ nodup
proc sort data = ia.data nodup;
by x;
run;
keyword used in proc sort to remove observations that have repeat values for sorted variable -
correct answer ✔✔ nodupkey
proc sort data = ia.data nodupkey;
by x;
run;
keyword used in proc freq to identify variable(s) to be used in frequency tables - correct answer
✔✔ tables