MATH 707-ST: Introduction to Statistical Computing with SAS and R. MID-TERM EXAM (Writing part) Fall, (Time allowed: TWO Hours)

Size: px
Start display at page:

Download "MATH 707-ST: Introduction to Statistical Computing with SAS and R. MID-TERM EXAM (Writing part) Fall, (Time allowed: TWO Hours)"

Transcription

1 MATH 707-ST: Introduction to Statistical Computing with SAS and R MID-TERM EXAM (Writing part) Fall, 2013 (Time allowed: TWO Hours) Highlight your answer clearly for each question. There is only one correct answer for each question. 1. Given the SAS data set EMPLOYEES: NAME SALARY Innis Jolli Ellis Liu The following SAS program is submitted: proc print data = employees; where name like '_i%'; What is contained in the output? a. Innis, Ellis, and Liu only b. Liu only c. Innis, Jolli, Ellis, and Liu d. Innis and Ellis only 2. A raw data file is listed below /05/1989 Frank 11 12/25/1987 June 13 01/05/1991 Sally 9 The following SAS program is submitted using this file as input: data work.family; infile 'file-specification'; date_of_birth first_name age 3; proc print data=work.family noobs; The following output is generated for the Work.Family data set: 1

2 Date_of_birth First_name Age Frank June Sally. Which of the following statements is true regarding the Work.Family output? a. The output has the expected data values. b. The output does not have the expected data values due to an invalid data set name. c. The output does not have the expected data values due to an invalid informat for Age only. d. The output does not have the expected data values due to invalid informats for both Age and Date_of_birth. 3. The following SAS program is submitted: data employees; infile 'file-specification'; name date department $; How many numeric variables are created? a. 0 b. 1 c. 2 d A raw data file is listed below Jose,47,210 Sue,,108 The following SAS program is submitted using this file as input: data employeestats; <insert INFILE statement here>; input name $ age weight; The following output is desired: name age weight Jose Sue. 108 Which of the following INFILE statements completes the program and accesses the data correctly? a. infile 'file-specification' pad; b. infile 'file-specification' dsd; c. infile 'file-specification' missover; 2

3 d. infile 'file-specification' dlm=','; 5. When the following SAS program is submitted, the data set SASDATA.PRDSALES contains 2000 observations: libname sasdata 'SAS-data-library'; options obs = 500; proc print data = sasdata.prdsales (firstobs = 100); options obs = max; proc means data = sasdata.prdsales (firstobs = 300); How many observations are processed by each procedure? a. 400 for PROC PRINT, 1700 for PROC MEANS b. 401 for PROC PRINT, 1701 for PROC MEANS c. 401 for PROC PRINT, 1700 for PROC MEANS d. 500 for PROC PRINT, 2000 for PROC MEANS 6. A raw data file is listed below TWOSTORY SANDERS ROAD $55,850 CONDO JEANS AVENUE $127,150 The following program is submitted using this file as input: data work.houses; infile 'file-specification'; <insert INPUT statement here> Which one of the following INPUT statements reads the raw data file correctly? a. style $8. +1 sqfeet bedrooms baths 3. street price dollar8.; b. style $8 +1 sqfeet bedrooms baths 3. street price dollar8.; c. style $8. +1 sqfeet bedrooms baths 3. street price dollar8.; d. style $8. +1 sqfeet bedrooms baths 3 street price dollar8.; 7. The following SAS program is submitted at the start of a new SAS session: libname sasdata2008 'SAS-data-library'; data sasdata.sales; set sasdata2008.salesdata; profit=expenses-revenues; proc print data=sasdata.sales; The SAS data set Salesdata has 10 observations. Which one of the following answers explains why a report fails to generate? a. The DATA step fails to execute. 3

4 b. The SAS data set Sales has 10 observations. c. The SAS data set Sales does not exist in the work library. d. The PRINT procedure statement syntax is incorrect. 8. The following SAS program is submitted: data work.clients; calls=6; do until(calls gt 9); calls+1; end; calls+1; What is the result? a. The variable Calls has a value of 9 in the output data set. b. The variable Calls has a value of 10 in the output data set. c. The variable Calls has a value of 11 in the output data set. d. The variable Calls has no value. The program fails to execute. 9. The following SAS program is submitted: proc sort data=payroll; by EmployeeIDNumber; How are the observations sorted? a. Payroll is re-created in sorted order by EmployeeIDNumber. b. Payroll is stored in original order, and a new data set Payroll is created in sorted order by EmployeeIDNumber. c. Payroll is stored in original order, and a new data set Payrollsorted is created in sorted order by EmployeeIDNumber. d. Payroll is re-created in sorted order by EmployeeIDNumber, and a new data set Payroll is created in sorted order by EmployeeIDNumber. 10. Which one of the following SAS programs creates a variable named City with a value of Chicago? a. data work.airports; AirportCode='ord'; if AirportCode='ORD' City='Chicago'; b. data work.airports; AirportCode='ORD'; if AirportCode='ORD' City='Chicago'; c. data work.airports; AirportCode='ORD'; if AirportCode='ORD' then City='Chicago'; d. data work.airports; AirportCode='ORD'; 4

5 if AirportCode='ORD'; then City='Chicago'; 11. The SAS data set Employees is listed below. Employees Name Salary Patel Payne Ellis Liu The following SAS program is submitted: proc print data=employees; where name? 'e' and name contains E ; What is the result? a. No observations are written to the report. b. The observation for Ellis only is written to the report. c. The observations for Patel and Payne only are written to the report. d. The observations for Patel, Payne, and Ellis only are written to the report. 12. The following SAS program is submitted: proc sort data=houses; by style; proc print data=houses; <insert SAS statement(s) here> The following list report is generated: style bedrooms baths price CONDO $80, $79, $127, $110,700 TWOSTORY $107,250 5

6 2 1.0 $55, $569, $102,950 Which of the following SAS statements completes the program and creates the desired report? a. id style; var bedroom baths price; b. id style; var style bedrooms baths price; c. id style; by style; var bedrooms baths price; d. id style; by style; var style bedrooms baths price; 13. The following SAS program is submitted: options pageno=3 number; proc print data=sasuser.houses; proc means data=sasuser.shoes; The report created by the PRINT procedure generates five pages of output. What is the page number on the first page that is generated by the MEANS procedure? a. 3 b. 4 c. 7 d The descriptor and data portions of the Work.Salaries data set are shown below. Variable Type Len Pos name Char 8 0 salary Char 8 16 status Char 8 8 name status salary Liz S 15,600 Herman S 26,700 Marty S 35,000 The following SAS program is submitted: proc print data=work.salaries; where salary<20000; No observations are output. Which of the following answers would result in a report of individuals with Salary less than $20,000 upon re-execution of the program? a. Right justify the Salary value in the WHERE statement in the PRINT step. b. Use a PUT function to write the Salary values with leading zeroes in a DATA step before the PRINT step. 6

7 c. Change (which is a numeric constant) to '20,000' (which is a character constant) in the WHERE statement in the PRINT step. d. Change the < operator to the le operator in the WHERE statement in the PRINT step. 15. name siblings bdate allowance hobby1 hobby2 hobby3 $10.; What is the length of bdate and hobby1? a. bdate = 8 and hobby1 = 8 b. bdate = 8 and hobby1 = 10 c. bdate = 10 and hobby1 = 8 d. bdate = 10 and hobby1 = The following SAS program is submitted: data work.flights; destination = 'CPH'; select(destination); when('lhr') CITY = 'London'; when('fra') CITY = 'Frankfurt'; otherwise; end; What are the length and value of the CITY variable? a. length is 6, value is CPH b. length is 9, value is London c. length of 6, value is (missing character value) d. length of 9, value is Frankfurt 17. Given the following DATA step: data loop; x = 0; do index = 1 to 5 by 2; x = index ; end; Upon completion of execution, what are the values of the variables X and INDEX in the SAS data set named LOOP? a. x = 3, index = 3 b. x = 3, index = 4 c. x = 5, index = 5 d. x = 5, index = 6 e. x = 5, index = 7 7

8 18. The following SAS SORT procedure step generates an output data set: proc sort data = sasuser.houses out = report; by style; In which library is the output data set stored? a. WORK b. REPORT c. HOUSES d. SASUSER 19. SAS treats Date as a numeric value. The initial date that is recorded as the value 0 is (a) 01/01/1980 (b) 01//01/1970 (c) 01/01/1960 (d) 01/01/ Which of the following is a correct format for a specific date on 12/31/2000 for the following IF statement IF hireddate = then bonus = salary *.15; (a) 12/31/2000 (b) 31DEC2000 d (c) DEC (d) 12/31/2000 d (e) DEC d 21. Which of the following format reads the Date 12NOV2004: (a) Date9. (b) DDMMYY9. (c) DDMMMYYYY9. (d) None of the above 22. In a SAS program, when INFILE statement is used, the DATA step usually reads (a) procedure for analyze data (b) external data file (c) SAS data file (d) none of these 23. How many observations are in the output from the following program, assuming the SAS data set old has more than 20 observations: Options firstobs=6 obs = 20; Data new1; set old; Run; PROC PRINT data = work.new1; RUN; (a) None (b) 5 (c) 10 (d) 15 (e) 25 8

9 24. How many observations are in the output from the following program, assuming the SAS data set old has more than 20 observations: Options firstobs=6 obs = 20; Data new1; set old; If _N_ > 10; RUN; PROC PRINT data = work.new1 (firstobs = 1); RUN; (a) None (b) 5 (c) 10 (d) 15 (e) What happens if you submit the following program? PROC SORT data = clinic.diabetes ; PROC PRINT data = clinic.diabetes; Var age height weight pulse; Where sex = F ; RUN; (a) The PROC SORT step runs successfully, but the PROC PRINT step generates errors and stop processing. (b) The PROC PRINT step runs successfully, printing observations in their sorted order. (c) The PROC SORT step permanently sorts the input data set. (d) The RPCO SORT step generates errors and stops processing, but the PROC PRINT step runs successfully,- printing observations in their original (unsorted) order. 26. Which of the following programs correctly read the Excel file, salary.xlsx stored in the folder Ex_data in D-drive: (a) Libname Excell_data D:\Ex_data\salary.xlsx ; Data salary; Set Excell_data. salary$ n ; RUN; (b) Libname Ex_data D:/Ex_data/salary.xlsx ; Data salary; Set Ex_data.salary; RUN; (c) Libname Ex_data D:\Ex_data\salary.xlsx ; Data salary; Set Ex_data.salary.xlsx; RUN; (d) Libname Ex_data D:\Ex_data\salary.xlsx ; Data salary; Set Ex_data. salary$ n ; RUN; 9

10 27. Suppose you run a program that causes three DATA step errors. What is the value of the variable _ERROR_ when the observation that contains the third error is processed? (a) 0 (b) 1 (c) 2 (d) The following observation is stored in a SAS data set named EMPLOYEES: LNAME FNAME JOBCODE Whitley Sam NA1 If the DATA step below is executed, what will be the value of the variable JOBDESC in the output SAS data set when this observation is processed: data navigate; set employees; if jobcode = 'NA1' then jobdesc = 'Navigator'; a. navigator b. Navigator c. NAVIGATOR d. a missing value 29. The below three program blocks are submitted A) Data target_data ; Set base_data (keep = var1 var2 var3 ); Run; B) Data target_data ; Set base_data; keep = var1 var2 var3 ; Run; C) Data target_data (keep = var1 var2 var3 ); Set base_data; Run; If the user needs only var1, var2 and var3 to work with, which step is most efficient? a. A b. B c. C d. A&B e. None 30. The following SAS program is submitted: 10

11 data test(drop=age); set sashelp.class(keep=name age gender height weight); drop=gender; newage=age+1; Sashelp.Class contains 5 variables. What is the result? a. No variables are written to the data set Work.Test. b. 4 variables are written to the data set Work.Test. c. 5 variables are written to the data set Work.Test. d. 6 variables are written to the data set Work.Test. 31. The following SAS program is submitted: data _null_; set old(keep=sales1 sales2); file 'file-specification'; put sales1 sales2; What is the result? a. A raw data file is created with no delimiter separating the fields. b. A raw data file is created with a space delimiter separating the fields. c. A raw data file is created with a comma delimiter separating the fields. d. No raw data file is created. The DATA step fails execution because no delimiter is specified. 32. The following statements are submitted Data Test; today = '20dec2005'd; format today mmddyy10.; Which of the following statement is true? a. Today variable displays like 12/20/2005 b. Data step not executed due to wrong format mmddyy. c. Today is displayed as 20DEC What is the result from running the following program in the data set score: 11

12 Data rawscore; Input name $ Quiz1 Datalines; Tom Jerry Mike Julie Jean ; Run; Data score; Set rawscore point = 3; Output; stop; a. None, since there is a syntax error in the SET statement. b. None since the rawscore data set only consists of one observation. c. It has one observation, which is Mike d. It has one observation, which is Tom What is the result from running the following program in the data set score: Data rawscore; Input name $ Quiz1 Datalines; Tom Jerry Mike Julie Jean ; Run; Data score; num=3; Set rawscore point = num; stop; a. None, since there is a syntax error in the SET statement. b. None since the SAS program can not reach the end of file. 12

13 c. None since the SAS program can not reach the end of the Data Step is make the implicit output. d. It has one observation, which is Mike e. It has one observation, which is Tom Answer Q35 to Q38 based on the following submitted program: Input name $ gender $ Quiz1 Datalines; Tom M Jerry M Mike M Julie F Jean F ; Run; proc print; Proc sort; by gender; Data score (keep= gender Avg_q1 Avg_q2); Set rawscore (drop = name); BY gender; Ncase+1; Sumq1+quiz1; Sumq2+quiz2; If last.gender then do; Avg_q1=sumq1/ncase; Avg_q2=sumq2/ncase; ncase = 0; sumq1=0; sumq2=0; End; output; proc print; 35. How many variables are created in the Program data Vector in the Data Step: Data Score prior to output to the Score data set: a. 3 b. 4 c. 5 d. 9 e How many variables are outputs to the SAS data Score: a. 3 b. 4 c. 5 d. 9 e

14 37. What is the Avg_q1 for Gender = F after running the program? a. 20 b c d e. Cannot be computed due to syntax error 38. If we delete the statement OUTPUT; from the program, what is the effect on the data set Score? a. There is no effect. b. The number of observations is decreased from 5 to 2 c. The number of observations is increased from 2 to 5 d. The program will have syntax error. 39. In a SAS program, the PROC step usually reads (a) procedure for analyze data (b) external data file (c) SAS data file (d) none of these 40. Which of the following statements selects from a data set only those observations for which the value of the variable Style is RANCH, SPLIT, or TWOSTORY? (a) WHERE STYLE = RANCH OR SPLIT OR TWOSTORY ; (b) WHERE STYLE IN RANCH OR SPLIT OR TWOSTORY ; (c) WHERE STYLE IN ( RANCH, SPLIT, TWOSTORY ) ; (d) WHERE STYLE IN (RANCH, SPLIT, TWOSTORY ) ; 14

informats in Reading Date and Time Values the colon-format modifier in Reading Free-Format Data.

informats in Reading Date and Time Values the colon-format modifier in Reading Free-Format Data. 1.A raw data file is listed below. 1---+----10---+----20---+--- son Frank 01/31/89 daughter June 12-25-87 brother Samuel 01/17/51 The following program is submitted using this file as input: data work.family;

More information

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

PASS4TEST. IT Certification Guaranteed, The Easy Way!  We offer free update service for one year PASS4TEST IT Certification Guaranteed, The Easy Way! \ http://www.pass4test.com We offer free update service for one year Exam : A00-201 Title : SAS base programming exam Vendors : SASInstitute Version

More information

Exam Name: SAS Base Programming for SAS (r) 9 Exam Type: SAS Exam Code: A Total Questions: 127

Exam Name: SAS Base Programming for SAS (r) 9 Exam Type: SAS Exam Code: A Total Questions: 127 Question: 1 The SAS data set SASUSER.HOUSES contains a variable PRICE which has been assigned a permanent label of Asking Price. Which SAS program temporarily replaces the label Asking Price with the label

More information

Name: Batch timing: Date: The SAS data set named WORK.SALARY contains 10 observations for each department, currently ordered by DEPARTMENT.

Name: Batch timing: Date: The SAS data set named WORK.SALARY contains 10 observations for each department, currently ordered by DEPARTMENT. Q1. The following SAS program is submitted: data work.total; set work.salary(keep = department wagerate); by department; if first.department then payroll = 0; payroll + wagerate; if last.department; The

More information

KillTest *KIJGT 3WCNKV[ $GVVGT 5GTXKEG Q&A NZZV ]]] QORRZKYZ IUS =K ULLKX LXKK [VJGZK YKX\OIK LUX UTK _KGX

KillTest *KIJGT 3WCNKV[ $GVVGT 5GTXKEG Q&A NZZV ]]] QORRZKYZ IUS =K ULLKX LXKK [VJGZK YKX\OIK LUX UTK _KGX KillTest Q&A Exam : A00-211 Title : SAS Base Programming for SAS 9 Version : V9.02 1 / 10 1.The following SAS program is submitted: data work.flights; destination= CPH select(destination); when( L H ±)ci

More information

Exam Questions A00-211

Exam Questions A00-211 Exam Questions A00-211 SAS Base Programming for SAS Â 9 https://www.2passeasy.com/dumps/a00-211/ 1.The following SAS program is submitted: data work.flights; destination= CPH select(destination); when(

More information

Chapter 2: Getting Data Into SAS

Chapter 2: Getting Data Into SAS Chapter 2: Getting Data Into SAS Data stored in many different forms/formats. Four categories of ways to read in data. 1. Entering data directly through keyboard 2. Creating SAS data sets from raw data

More information

Accessing Data and Creating Data Structures. SAS Global Certification Webinar Series

Accessing Data and Creating Data Structures. SAS Global Certification Webinar Series Accessing Data and Creating Data Structures SAS Global Certification Webinar Series Accessing Data and Creating Data Structures Becky Gray Certification Exam Developer SAS Global Certification Michele

More information

SAS Institue EXAM A SAS Base Programming for SAS 9

SAS Institue EXAM A SAS Base Programming for SAS 9 SAS Institue EXAM A00-211 SAS Base Programming for SAS 9 Total Questions: 70 Question: 1 After a SAS program is submitted, the following is written to the SAS log: What issue generated the error in the

More information

Which one of the following is needed to display the standard deviation with only two decimal places?

Which one of the following is needed to display the standard deviation with only two decimal places? Question: 1 proc means data = sasuser.houses std mean max; var sqfeet Which one of the following is needed to display the standard deviation with only two decimal places? A. Add the option MAXDEC = 2 to

More information

SASInstitute A SAS Base Programming. Download Full Version :

SASInstitute A SAS Base Programming. Download Full Version : SASInstitute A00-201 SAS Base Programming Download Full Version : https://killexams.com/pass4sure/exam-detail/a00-201 Answer: B QUESTION: 129 options pageno = 1; proc print data = sasuser.houses; proc

More information

STATION

STATION ------------------------------STATION 1------------------------------ 1. Which of the following statements displays all user-defined macro variables in the SAS log? a) %put user=; b) %put user; c) %put

More information

SAS 101. Based on Learning SAS by Example: A Programmer s Guide Chapter 21, 22, & 23. By Tasha Chapman, Oregon Health Authority

SAS 101. Based on Learning SAS by Example: A Programmer s Guide Chapter 21, 22, & 23. By Tasha Chapman, Oregon Health Authority SAS 101 Based on Learning SAS by Example: A Programmer s Guide Chapter 21, 22, & 23 By Tasha Chapman, Oregon Health Authority Topics covered All the leftovers! Infile options Missover LRECL=/Pad/Truncover

More information

work.test temp.test sasuser.test test

work.test temp.test sasuser.test test DSCI 325 Midterm Practice Test Spring 2017 Name: 1. Consider the following four names used to create a SAS data set: work.test temp.test sasuser.test test How many of these will be stored as permanent

More information

Exam Name: SAS Base Programming for SAS 9

Exam Name: SAS Base Programming for SAS 9 Vendor: SAS Exam Code: A00-211 Exam Name: SAS Base Programming for SAS 9 Version: DEMO QUESTION 1 Given the SAS data set AGES: AGES AGE --------- The variable AGE contains character values. data subset;

More information

CHAPTER 13 Importing and Exporting External Data

CHAPTER 13 Importing and Exporting External Data 127 CHAPTER 13 Importing and Exporting External Data Chapter Overview 127 Exporting a File 127 Instructions 128 Exiting This Task 130 Importing Data from a Flat File 130 Instructions 130 Chapter Overview

More information

DSCI 325: Handout 2 Getting Data into SAS Spring 2017

DSCI 325: Handout 2 Getting Data into SAS Spring 2017 DSCI 325: Handout 2 Getting Data into SAS Spring 2017 Data sets come in many different formats. In some situations, data sets are stored on paper (e.g., surveys) and other times data are stored in huge

More information

Stat 302 Statistical Software and Its Applications SAS: Data I/O

Stat 302 Statistical Software and Its Applications SAS: Data I/O Stat 302 Statistical Software and Its Applications SAS: Data I/O Yen-Chi Chen Department of Statistics, University of Washington Autumn 2016 1 / 33 Getting Data Files Get the following data sets from the

More information

The INPUT Statement: Where It

The INPUT Statement: Where It The INPUT Statement: Where It s @ Ron Cody email: ron.cody@gmail.com Author page: Support.sas.com/cody List Directed Input data list input X Y A $ Z datalines 1 2 hello 3 4 5 goodbye 6 title 'List Directed

More information

Stat 302 Statistical Software and Its Applications SAS: Data I/O & Descriptive Statistics

Stat 302 Statistical Software and Its Applications SAS: Data I/O & Descriptive Statistics Stat 302 Statistical Software and Its Applications SAS: Data I/O & Descriptive Statistics Fritz Scholz Department of Statistics, University of Washington Winter Quarter 2015 February 19, 2015 2 Getting

More information

Other Data Sources SAS can read data from a variety of sources:

Other Data Sources SAS can read data from a variety of sources: Other Data Sources SAS can read data from a variety of sources: Plain text files, including delimited and fixed-column files Spreadsheets, such as Excel Databases XML Others Text Files Text files of various

More information

Sample Questions. SAS Advanced Programming for SAS 9. Question 1. Question 2

Sample Questions. SAS Advanced Programming for SAS 9. Question 1. Question 2 Sample Questions The following sample questions are not inclusive and do not necessarily represent all of the types of questions that comprise the exams. The questions are not designed to assess an individual's

More information

data Vote; /* Read a CSV file */ infile 'c:\users\yuen\documents\6250\homework\hw1\political.csv' dsd; input state $ Party $ Age; run;

data Vote; /* Read a CSV file */ infile 'c:\users\yuen\documents\6250\homework\hw1\political.csv' dsd; input state $ Party $ Age; run; Chapter 3 2. data Vote; /* Read a CSV file */ infile 'c:\users\yuen\documents\6250\homework\hw1\political.csv' dsd; input state $ Party $ Age; title "Listing of Vote data set"; /* compute frequencies for

More information

Formats and the Format Procedure

Formats and the Format Procedure Formats and the Format Procedure Assigning Formats for Display While labels are used to change how a variable name is displayed, formats are used to change how data values are displayed. Formats are assigned

More information

Introduction to SAS Statistical Package

Introduction to SAS Statistical Package Instructor: Introduction to SAS Statistical Package Biostatistics 140.632 Lecture 1 Lucy Meoni lmeoni@jhmi.edu Teaching Assistant : Sorina Eftim seftim@jhsph.edu Lecture/Lab: Room 3017 WEB site: www.biostat.jhsph.edu/bstcourse/bio632/default.htm

More information

17. Reading free-format data. GIORGIO RUSSOLILLO - Cours de prépara)on à la cer)fica)on SAS «Base Programming» 386

17. Reading free-format data. GIORGIO RUSSOLILLO - Cours de prépara)on à la cer)fica)on SAS «Base Programming» 386 17. Reading free-format data 386 Reading free format data: The list input A raw dataset is free-format when it is not arranged in fixed fields. -> Fields are separated by a delimiter List input allows

More information

proc print data=account; <insert statement here> run;

proc print data=account; <insert statement here> run; Statistics 6250 Name: Fall 2012 (print: first last ) Prof. Fan NetID #: Midterm Three Instructions: This is an in-class and open book midterm. You must write your answers on the provide spaces. Give concise

More information

Reading data in SAS and Descriptive Statistics

Reading data in SAS and Descriptive Statistics P8130 Recitation 1: Reading data in SAS and Descriptive Statistics Zilan Chai Sep. 18 th /20 th 2017 Outline Intro to SAS (windows, basic rules) Getting Data into SAS Descriptive Statistics SAS Windows

More information

Chapter 1 The DATA Step

Chapter 1 The DATA Step Chapter 1 The DATA Step 1.1 Structure of SAS Programs...1-3 1.2 SAS Data Sets... 1-12 1.3 Creating a Permanent SAS Data Set... 1-18 1.4 Writing a SAS DATA Step... 1-24 1.5 Creating a DATA Step View...

More information

Objectives Reading SAS Data Sets and Creating Variables Reading a SAS Data Set Reading a SAS Data Set onboard ia.dfwlax FirstClass Economy

Objectives Reading SAS Data Sets and Creating Variables Reading a SAS Data Set Reading a SAS Data Set onboard ia.dfwlax FirstClass Economy Reading SAS Data Sets and Creating Variables Objectives Create a SAS data set using another SAS data set as input. Create SAS variables. Use operators and SAS functions to manipulate data values. Control

More information

IT 433 Final Exam. June 9, 2014

IT 433 Final Exam. June 9, 2014 Page 1 of 10 IT 433 Final Exam June 9, 2014 Part A: Multiple Choice Questions about SAS. Circle the most correct answer for each question. You may give an optional reason for each answer; if the answer

More information

Moving Data and Results Between SAS and Excel. Harry Droogendyk Stratia Consulting Inc.

Moving Data and Results Between SAS and Excel. Harry Droogendyk Stratia Consulting Inc. Moving Data and Results Between SAS and Excel Harry Droogendyk Stratia Consulting Inc. Introduction SAS can read ( and write ) anything Introduction In the end users want EVERYTHING in. Introduction SAS

More information

SAS PROGRAMMING AND APPLICATIONS (STAT 5110/6110): FALL 2015 Module 2

SAS PROGRAMMING AND APPLICATIONS (STAT 5110/6110): FALL 2015 Module 2 SAS PROGRAMMING AND APPLICATIONS (STAT 5110/6110): FALL 2015 Department of MathemaGcs and StaGsGcs Phone: 4-3620 Office: Parker 364- A E- mail: carpedm@auburn.edu Web: hup://www.auburn.edu/~carpedm/stat6110

More information

ECLT 5810 SAS Programming - Introduction

ECLT 5810 SAS Programming - Introduction ECLT 5810 SAS Programming - Introduction Why SAS? Able to process data set(s). Easy to handle multiple variables. Generate useful basic analysis Summary statistics Graphs Many companies and government

More information

Intermediate SAS: Working with Data

Intermediate SAS: Working with Data Intermediate SAS: Working with Data OIT Technical Support Services 293-4444 oithelp@mail.wvu.edu oit.wvu.edu/training/classmat/sas/ Table of Contents Getting set up for the Intermediate SAS workshop:...

More information

SAS Certification Handout #6: Ch

SAS Certification Handout #6: Ch SAS Certification Handout #6: Ch. 16-18 /************ Ch. 16 ******************* /* Suppose we have numeric variables ModelNumber Price Weight Change and date variable Date, plus a string variable Designer

More information

INTRODUCTION TO SAS HOW SAS WORKS READING RAW DATA INTO SAS

INTRODUCTION TO SAS HOW SAS WORKS READING RAW DATA INTO SAS TO SAS NEED FOR SAS WHO USES SAS WHAT IS SAS? OVERVIEW OF BASE SAS SOFTWARE DATA MANAGEMENT FACILITY STRUCTURE OF SAS DATASET SAS PROGRAM PROGRAMMING LANGUAGE ELEMENTS OF THE SAS LANGUAGE RULES FOR SAS

More information

Introduction to SAS Procedures SAS Basics III. Susan J. Slaughter, Avocet Solutions

Introduction to SAS Procedures SAS Basics III. Susan J. Slaughter, Avocet Solutions Introduction to SAS Procedures SAS Basics III Susan J. Slaughter, Avocet Solutions DATA versus PROC steps Two basic parts of SAS programs DATA step PROC step Begin with DATA statement Begin with PROC statement

More information

Base and Advance SAS

Base and Advance SAS Base and Advance SAS BASE SAS INTRODUCTION An Overview of the SAS System SAS Tasks Output produced by the SAS System SAS Tools (SAS Program - Data step and Proc step) A sample SAS program Exploring SAS

More information

Stat 302 Statistical Software and Its Applications SAS: Working with Data

Stat 302 Statistical Software and Its Applications SAS: Working with Data 1 Stat 302 Statistical Software and Its Applications SAS: Working with Data Fritz Scholz Department of Statistics, University of Washington Winter Quarter 2015 February 26, 2015 2 Outline Chapter 7 in

More information

ERROR: ERROR: ERROR:

ERROR: ERROR: ERROR: ERROR: ERROR: ERROR: Formatting Variables: Back and forth between character and numeric Why should you care? DATA name1; SET name; if var = Three then delete; if var = 3 the en delete; if var = 3 then

More information

DSCI 325 Practice Midterm Questions Spring In SAS, a statement must end

DSCI 325 Practice Midterm Questions Spring In SAS, a statement must end DSCI 325 Practice Midterm Questions Spring 2016 1. In SAS, a statement must end a. with a colon b. with a semicolon c. in a new line d. with the command RUN 2. Which of the following is a valid variable

More information

SAS Data Libraries. Objectives. Airline Data Library. SAS Data Libraries. SAS Data Libraries FILES LIBRARIES

SAS Data Libraries. Objectives. Airline Data Library. SAS Data Libraries. SAS Data Libraries FILES LIBRARIES Reading Raw Data, Formats and Data Types 2.1 SAS Data Libraries 2.2 SAS List Reports from SAS Data Sets 2.3 Formats in SAS 2.4 Reading Raw Data into SAS 2.5 Minitab List Reports from Minitab Worksheets

More information

Biostatistics 600 SAS Lab Supplement 1 Fall 2012

Biostatistics 600 SAS Lab Supplement 1 Fall 2012 Biostatistics 600 SAS Lab Supplement 1 Fall 2012 p 2. How to Enter Data in the Program Editor Window: Instream Data p 5. How to Create a SAS Data Set from Raw Data Files p 16. Using Dates in SAS 1 How

More information

Introduction to SAS Procedures SAS Basics III. Susan J. Slaughter, Avocet Solutions

Introduction to SAS Procedures SAS Basics III. Susan J. Slaughter, Avocet Solutions Introduction to SAS Procedures SAS Basics III Susan J. Slaughter, Avocet Solutions SAS Essentials Section for people new to SAS Core presentations 1. How SAS Thinks 2. Introduction to DATA Step Programming

More information

Overview of Data Management Tasks (command file=datamgt.sas)

Overview of Data Management Tasks (command file=datamgt.sas) Overview of Data Management Tasks (command file=datamgt.sas) Create the March data set: To create the March data set, you can read it from the MARCH.DAT raw data file, using a data step, as shown below.

More information

Level I: Getting comfortable with my data in SAS. Descriptive Statistics

Level I: Getting comfortable with my data in SAS. Descriptive Statistics Level I: Getting comfortable with my data in SAS. Descriptive Statistics Quick Review of reading Data into SAS Preparing Data 1. Variable names in the first row make sure they are appropriate for the statistical

More information

Creation of SAS Dataset

Creation of SAS Dataset Creation of SAS Dataset Contents SAS data step Access to PC files Access to Oracle Access to SQL 2 SAS Data Step Contents Creating SAS data sets from raw data Creating and managing variables 3 Creating

More information

Getting Your Data into SAS The Basics. Math 3210 Dr. Zeng Department of Mathematics California State University, Bakersfield

Getting Your Data into SAS The Basics. Math 3210 Dr. Zeng Department of Mathematics California State University, Bakersfield Getting Your Data into SAS The Basics Math 3210 Dr. Zeng Department of Mathematics California State University, Bakersfield Outline Getting data into SAS -Entering data directly into SAS -Creating SAS

More information

The data step allows for creation, assembly and modification of SAS data sets.

The data step allows for creation, assembly and modification of SAS data sets. The data step allows for creation, assembly and modification of SAS data sets. Sources of information include existing SAS data sets, database files, spreadsheets and other raw data files. Like a procedure,

More information

Using Dynamic Data Exchange

Using Dynamic Data Exchange 145 CHAPTER 8 Using Dynamic Data Exchange Overview of Dynamic Data Exchange 145 DDE Syntax within SAS 145 Referencing the DDE External File 146 Determining the DDE Triplet 146 Controlling Another Application

More information

Introduction to the SAS Macro Facility

Introduction to the SAS Macro Facility Introduction to the SAS Macro Facility Uses for SAS Macros The macro language allows for programs that are dynamic capable of selfmodification. The major components of the macro language include: Macro

More information

SAS CURRICULUM. BASE SAS Introduction

SAS CURRICULUM. BASE SAS Introduction SAS CURRICULUM BASE SAS Introduction Data Warehousing Concepts What is a Data Warehouse? What is a Data Mart? What is the difference between Relational Databases and the Data in Data Warehouse (OLTP versus

More information

Introduction to SAS. Cristina Murray-Krezan Research Assistant Professor of Internal Medicine Biostatistician, CTSC

Introduction to SAS. Cristina Murray-Krezan Research Assistant Professor of Internal Medicine Biostatistician, CTSC Introduction to SAS Cristina Murray-Krezan Research Assistant Professor of Internal Medicine Biostatistician, CTSC cmurray-krezan@salud.unm.edu 20 August 2018 What is SAS? Statistical Analysis System,

More information

Introduction OR CARDS. INPUT DATA step OUTPUT DATA 8-1

Introduction OR CARDS. INPUT DATA step OUTPUT DATA 8-1 Introduction Thus far, all the DATA step programs we have seen have involved reading and writing only SAS data sets. In this chapter we will present techniques to read and write external or "raw" files

More information

PROC FORMAT. CMS SAS User Group Conference October 31, 2007 Dan Waldo

PROC FORMAT. CMS SAS User Group Conference October 31, 2007 Dan Waldo PROC FORMAT CMS SAS User Group Conference October 31, 2007 Dan Waldo 1 Today s topic: Three uses of formats 1. To improve the user-friendliness of printed results 2. To group like data values without affecting

More information

CMU MSP : SAS FORMATs and INFORMATs Howard Seltman Nov. 7+12, 2018

CMU MSP : SAS FORMATs and INFORMATs Howard Seltman Nov. 7+12, 2018 CMU MSP 36-601: SAS FORMATs and INFORMATs Howard Seltman Nov. 7+12, 2018 1) Formats and informats flexibly re-represent data in a data set on input or output. Common uses include reading and writing dates,

More information

SAS Certification Handout #8: Adv. Prog. Ch. 1-2

SAS Certification Handout #8: Adv. Prog. Ch. 1-2 /* First, make example data SAS Certification Handout #8: Adv. Prog. Ch. 1-2 libname cert 'C:/jrstevens/Teaching/SAS_Cert/AdvNotes' /* In SAS Studio, after creating SAS_Cert folder with username jrstevens:

More information

The Programmer's Solution to the Import/Export Wizard

The Programmer's Solution to the Import/Export Wizard The Programmer's Solution to the Import/Export Wizard Lora D. Delwiche, University of California, Davis, CA Susan J. Slaughter, SAS Consultant, Davis, CA Abstract Do you like what the Import/Export Wizard

More information

An Animated Guide: Proc Transpose

An Animated Guide: Proc Transpose ABSTRACT An Animated Guide: Proc Transpose Russell Lavery, Independent Consultant If one can think about a SAS data set as being made up of columns and rows one can say Proc Transpose flips the columns

More information

Introduction to SAS Mike Zdeb ( , #1

Introduction to SAS Mike Zdeb ( , #1 Mike Zdeb (402-6479, msz03@albany.edu) #1 (1) INTRODUCTION Once, the acronym SAS actually did stand for Statistical Analysis System. Now, when you use the term SAS, you are referring to a collection of

More information

The INPUT Statement: Where

The INPUT Statement: Where The INPUT Statement: Where It's @ Ronald Cody, Ed.D. Robert Wood Johnson Medical School Introduction One of the most powerful features of SAS software is the ability to read data in almost any form. For

More information

Contents. Overview How SAS processes programs Compilation phase Execution phase Debugging a DATA step Testing your programs

Contents. Overview How SAS processes programs Compilation phase Execution phase Debugging a DATA step Testing your programs SAS Data Step Contents Overview How SAS processes programs Compilation phase Execution phase Debugging a DATA step Testing your programs 2 Overview Introduction This section teaches you what happens "behind

More information

DATA Step Debugger APPENDIX 3

DATA Step Debugger APPENDIX 3 1193 APPENDIX 3 DATA Step Debugger Introduction 1194 Definition: What is Debugging? 1194 Definition: The DATA Step Debugger 1194 Basic Usage 1195 How a Debugger Session Works 1195 Using the Windows 1195

More information

Final Stat 302, March 17, 2014

Final Stat 302, March 17, 2014 First Name Last Name Student ID Final Stat 302, March 17, 2014 Fritz Scholz Questions 1-15 count as 4 points each, the rest as 6 points each (180 total). 1. Could Y and y refer to different objects within

More information

Data Modeling with the Entity Relationship Model. CS157A Chris Pollett Sept. 7, 2005.

Data Modeling with the Entity Relationship Model. CS157A Chris Pollett Sept. 7, 2005. Data Modeling with the Entity Relationship Model CS157A Chris Pollett Sept. 7, 2005. Outline Conceptual Data Models and Database Design An Example Application Entity Types, Sets, Attributes and Keys Relationship

More information

ASSIGNMENT #2 ( *** ANSWERS ***) 1

ASSIGNMENT #2 ( *** ANSWERS ***) 1 ASSIGNMENT #2 ( *** ANSWERS ***) 1 * problem #1 *** WHERE WILL THE PERMANENT SAS DATA SET BE WRITTEN libname x 'i:\' CREATE A PERMANENT SAS DATA SET NAMED CLINICAL USE AN INFILE STATEMENT TO TELL SAS WHERE

More information

Using an ICPSR set-up file to create a SAS dataset

Using an ICPSR set-up file to create a SAS dataset Using an ICPSR set-up file to create a SAS dataset Name library and raw data files. From the Start menu, launch SAS, and in the Editor program, write the codes to create and name a folder in the SAS permanent

More information

22S:166. Checking Values of Numeric Variables

22S:166. Checking Values of Numeric Variables 22S:1 Computing in Statistics Lecture 24 Nov. 2, 2016 1 Checking Values of Numeric Variables range checks when you know what the range of possible values is for a given quantitative variable internal consistency

More information

using and Understanding Formats

using and Understanding Formats using and Understanding SAS@ Formats Howard Levine, DynaMark, Inc. Oblectives The purpose of this paper is to enable you to use SAS formats to perform the following tasks more effectively: Improving the

More information

The Way of the Semicolon -or- Three Things I Wish I Had Known Before I Ever Coded One Patricia Hettinger, Oakbrook Terrace, IL

The Way of the Semicolon -or- Three Things I Wish I Had Known Before I Ever Coded One Patricia Hettinger, Oakbrook Terrace, IL The Way of the Semicolon -or- Three Things I Wish I Had Known Before I Ever Coded One Patricia Hettinger, Oakbrook Terrace, IL ABSTRACT Learning SAS or teaching it to someone else can be very difficult.

More information

10 The First Steps 4 Chapter 2

10 The First Steps 4 Chapter 2 9 CHAPTER 2 Examples The First Steps 10 Invoking the Query Window 11 Changing Your Profile 11 ing a Table 13 ing Columns 14 Alias Names and Labels 14 Column Format 16 Creating a WHERE Expression 17 Available

More information

SAS Certification Handout #5: Ch /************ Ch. 13 ********************/ /* NOTE: Ch. 13 presents loads of functions; see pp.

SAS Certification Handout #5: Ch /************ Ch. 13 ********************/ /* NOTE: Ch. 13 presents loads of functions; see pp. SAS Certification Handout #5: Ch. 13-15 /************ Ch. 13 ********************/ /* NOTE: Ch. 13 presents loads of functions see pp. 452-455 */ /* MEAN function */ data a5 input X1-X5 Xmeans = mean(of

More information

22S:172. Duplicates. may need to check for either duplicate ID codes or duplicate observations duplicate observations should just be eliminated

22S:172. Duplicates. may need to check for either duplicate ID codes or duplicate observations duplicate observations should just be eliminated 22S:172 1 2 Duplicates Data Cleaning involving duplicate IDs and duplicate records may need to check for either duplicate ID codes or duplicate observations duplicate observations should just be eliminated

More information

Eventus Example Series Using Non-CRSP Data in Eventus 7 1

Eventus Example Series Using Non-CRSP Data in Eventus 7 1 Eventus Example Series Using Non-CRSP Data in Eventus 7 1 Goal: Use Eventus software version 7.0 or higher to construct a mini-database of data obtained from any source, and run one or more event studies

More information

Epidemiology Principles of Biostatistics Chapter 3. Introduction to SAS. John Koval

Epidemiology Principles of Biostatistics Chapter 3. Introduction to SAS. John Koval Epidemiology 9509 Principles of Biostatistics Chapter 3 John Koval Department of Epidemiology and Biostatistics University of Western Ontario What we will do today We will learn to use use SAS to 1. read

More information

SAS Programming Basics

SAS Programming Basics SAS Programming Basics SAS Programs SAS Programs consist of three major components: Global statements Procedures Data steps SAS Programs Global Statements Procedures Data Step Notes Data steps and procedures

More information

ssh tap sas913 sas

ssh tap sas913 sas Fall 2010, STAT 430 SAS Examples SAS9 ===================== ssh abc@glue.umd.edu tap sas913 sas https://www.statlab.umd.edu/sasdoc/sashtml/onldoc.htm a. Reading external files using INFILE and INPUT (Ch

More information

Introduction to SAS Mike Zdeb ( , #61

Introduction to SAS Mike Zdeb ( , #61 Mike Zdeb (402-6479, msz03@albany.edu) #61 FORMAT, you can design informats for reading and interpreting non-standard data, and you can design formats for displaying data in non-standard ways....example

More information

Getting Started with the XML Engine

Getting Started with the XML Engine 3 CHAPTER 1 Getting Started with the XML Engine What Does the XML Engine Do? 3 Understanding How the XML Engine Works 3 Assigning a Libref to an XML Document 3 Importing an XML Document 4 Exporting an

More information

Appendix A - Employee Census Import Layout

Appendix A - Employee Census Import Layout Appendix A - Employee Census Import Layout By using the Import Fields below, you will not have to map any fields. Excel Colu mn AllApp Import Fields Maximum Length Field Descriptio n A FIRSTNAME Employee

More information

Vendor: SAS Institute. Exam Code: A Exam Name: SAS Advanced Programming Exam for SAS 9. Version: Demo

Vendor: SAS Institute. Exam Code: A Exam Name: SAS Advanced Programming Exam for SAS 9. Version: Demo Vendor: SAS Institute Exam Code: A00-212 Exam Name: SAS Advanced Programming Exam for SAS 9 Version: Demo QUESTION 1 Data sasuser.history; Set sasuser.history(keep=state x y Rename = (state=st)); Total=sum(x,y);

More information

STAT:5400 Computing in Statistics. Other software packages. Microsoft Excel spreadsheet very convenient for entering data in flatfile

STAT:5400 Computing in Statistics. Other software packages. Microsoft Excel spreadsheet very convenient for entering data in flatfile STAT:5400 Computing in Statistics Other Software Packages Proc import A bit on SAS macro language Lecture 26 ov 2, 2016 Kate Cowles 374 SH, 335-0727 kate-cowles@uiowaedu Other software packages Microsoft

More information

BEYOND FORMAT BASICS 1

BEYOND FORMAT BASICS 1 BEYOND FORMAT BASICS 1 CNTLIN DATA SETS...LABELING VALUES OF VARIABLE One common use of a format in SAS is to assign labels to values of a variable. The rules for creating a format with PROC FORMAT are

More information

An Introduction to SAS University Edition

An Introduction to SAS University Edition An Introduction to SAS University Edition Ron Cody From An Introduction to SAS University Edition. Full book available for purchase here. Contents List of Programs... xi About This Book... xvii About the

More information

Hidden in plain sight: my top ten underpublicized enhancements in SAS Versions 9.2 and 9.3

Hidden in plain sight: my top ten underpublicized enhancements in SAS Versions 9.2 and 9.3 Hidden in plain sight: my top ten underpublicized enhancements in SAS Versions 9.2 and 9.3 Bruce Gilsen, Federal Reserve Board, Washington, DC ABSTRACT SAS Versions 9.2 and 9.3 contain many interesting

More information

STAT 7000: Experimental Statistics I

STAT 7000: Experimental Statistics I STAT 7000: Experimental Statistics I 2. A Short SAS Tutorial Peng Zeng Department of Mathematics and Statistics Auburn University Fall 2009 Peng Zeng (Auburn University) STAT 7000 Lecture Notes Fall 2009

More information

A Practical Introduction to SAS Data Integration Studio

A Practical Introduction to SAS Data Integration Studio ABSTRACT A Practical Introduction to SAS Data Integration Studio Erik Larsen, Independent Consultant, Charleston, SC Frank Ferriola, Financial Risk Group, Cary, NC A useful and often overlooked tool which

More information

David Ghan SAS Education

David Ghan SAS Education David Ghan SAS Education 416 307-4515 David.ghan@sas.com Using SQL in SAS Victoria Area SAS User Group February 12, 2004 1. What is SQL? 2. Coding an SQL Query 3. Advanced Examples a. Creating macro variables

More information

SAS/FSP 9.2. Procedures Guide

SAS/FSP 9.2. Procedures Guide SAS/FSP 9.2 Procedures Guide The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2008. SAS/FSP 9.2 Procedures Guide. Cary, NC: SAS Institute Inc. SAS/FSP 9.2 Procedures

More information

FSEDIT Procedure Windows

FSEDIT Procedure Windows 25 CHAPTER 4 FSEDIT Procedure Windows Overview 26 Viewing and Editing Observations 26 How the Control Level Affects Editing 27 Scrolling 28 Adding Observations 28 Entering and Editing Variable Values 28

More information

Ten Great Reasons to Learn SAS Software's SQL Procedure

Ten Great Reasons to Learn SAS Software's SQL Procedure Ten Great Reasons to Learn SAS Software's SQL Procedure Kirk Paul Lafler, Software Intelligence Corporation ABSTRACT The SQL Procedure has so many great features for both end-users and programmers. It's

More information

SAS Data View and Engine Processing. Defining a SAS Data View. Advantages of SAS Data Views SAS DATA VIEWS: A VIRTUAL VIEW OF DATA

SAS Data View and Engine Processing. Defining a SAS Data View. Advantages of SAS Data Views SAS DATA VIEWS: A VIRTUAL VIEW OF DATA SAS DATA VIEWS: A VIRTUAL VIEW OF DATA John C. Boling SAS Institute Inc., Cary, NC Abstract The concept of a SAS data set has been extended or broadened in Version 6 of the SAS System. Two SAS file structures

More information

SC-15. An Annotated Guide: Using Proc Tabulate And Proc Summary to Validate SAS Code Russ Lavery, Contractor, Ardmore, PA

SC-15. An Annotated Guide: Using Proc Tabulate And Proc Summary to Validate SAS Code Russ Lavery, Contractor, Ardmore, PA SC-15 An Annotated Guide: Using Proc Tabulate And Proc Summary to Validate SAS Code Russ Lavery, Contractor, Ardmore, PA ABSTRACT This paper discusses how Proc Tabulate and Proc Summary can be used to

More information

A Macro that can Search and Replace String in your SAS Programs

A Macro that can Search and Replace String in your SAS Programs ABSTRACT MWSUG 2016 - Paper BB27 A Macro that can Search and Replace String in your SAS Programs Ting Sa, Cincinnati Children s Hospital Medical Center, Cincinnati, OH In this paper, a SAS macro is introduced

More information

Create a SAS Program to create the following files from the PREC2 sas data set created in LAB2.

Create a SAS Program to create the following files from the PREC2 sas data set created in LAB2. Topics: Data step Subsetting Concatenation and Merging Reference: Little SAS Book - Chapter 5, Section 3.6 and 2.2 Online documentation Exercise I LAB EXERCISE The following is a lab exercise to give you

More information

Chapter 7 File Access. Chapter Table of Contents

Chapter 7 File Access. Chapter Table of Contents Chapter 7 File Access Chapter Table of Contents OVERVIEW...105 REFERRING TO AN EXTERNAL FILE...105 TypesofExternalFiles...106 READING FROM AN EXTERNAL FILE...107 UsingtheINFILEStatement...107 UsingtheINPUTStatement...108

More information

Writing Programs in SAS Data I/O in SAS

Writing Programs in SAS Data I/O in SAS Writing Programs in SAS Data I/O in SAS Statistics 135 Autumn 2005 Copyright c 2005 by Mark E. Irwin Writing SAS Programs Your SAS programs can be written in any text editor, though you will often want

More information

An Easy Route to a Missing Data Report with ODS+PROC FREQ+A Data Step Mike Zdeb, FSL, University at Albany School of Public Health, Rensselaer, NY

An Easy Route to a Missing Data Report with ODS+PROC FREQ+A Data Step Mike Zdeb, FSL, University at Albany School of Public Health, Rensselaer, NY SESUG 2016 Paper BB-170 An Easy Route to a Missing Data Report with ODS+PROC FREQ+A Data Step Mike Zdeb, FSL, University at Albany School of Public Health, Rensselaer, NY ABSTRACT A first step in analyzing

More information

Basic Concept Review

Basic Concept Review Basic Concept Review Quiz Using the Programming Workspace Referencing Files and Setting Options Editing and Debugging SAS Programs End of Review SAS Format Format Formats are variable

More information