Basic SAS interview questions

Basic SAS interview questions

What is the effect of the OPTIONS statement ERRORS=1?

What’s the difference between VAR A1 – A4 and VAR A1 – A4?

What do the SAS log messages “numeric values have been converted to character” mean? What are the implications?

Why is a STOP statement needed for the POINT= option on a SET statement?

How do you control the number of observations and/or variables read or written?

Approximately what date is represented by the SAS date value of 730?

How would you remove a format that has been permanently associated with a variable??

What does the RUN statement do?

Why is SAS considered self-documenting?

What areas of SAS are you most interested in?

Briefly describe 5 ways to do a “table lookup” in SAS.

What versions of SAS have you used (on which platforms)?

What are some good SAS programming practices for processing very large data sets?

What are some problems you might encounter in processing missing values? In Data steps? Arithmetic?
Comparisons? Functions? Classifying data?

How would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable?

What is the different between functions and PROCs that calculate the same simple descriptive statistics?

If you were told to create many records from one record, show how you would do this using arrays and with PROC TRANSPOSE?

What are _numeric_ and _character_ and what do they do?

How would you create multiple observations from a single observation?

For what purpose would you use the RETAIN statement?

What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?

What is the order of application for output data set options, input data set options and SAS statements?

What is the order of evaluation of the comparison operators: + – * / ** ( ) ?

How could you generate test data with no input data?

How do you debug and test your SAS programs?

What can you learn from the SAS log when debugging?

What is the purpose of _error_?

How can you put a “trace” in your program?

Are you sensitive to code walk-throughs, peer review, or QC review?

Have you ever used the SAS Debugger?

What other SAS features do you use for error trapping and data validation?

How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?

How many missing values are available? When might you use them?

How do you test for missing values?

How are numeric and character missing values represented internally?

Home > Interview Questions > Basic SAS interview questions
  1. No comments yet.
  1. No trackbacks yet.