top of page

Wed, Mar 30

|

Online

Beyond IF THEN ELSE: Techniques for Conditional Execution of SAS Code By Joshua M. Horstman, Nested Loop Consulting

Nearly every SAS program includes logic that causes certain code to be executed only when specific conditions are met. This is commonly done using the IF…THEN…ELSE syntax. In this paper, we will explore various other ways to construct conditional SAS logic.

Registration is Closed
See other events
Beyond IF THEN ELSE: Techniques for Conditional Execution of SAS Code By Joshua M. Horstman, Nested Loop Consulting
Beyond IF THEN ELSE: Techniques for Conditional Execution of SAS Code By Joshua M. Horstman, Nested Loop Consulting

Time & Location

Mar 30, 2022, 12:00 PM – 1:00 PM EDT

Online

Nearly every SAS program includes logic that causes certain code to be executed only when specific conditions are met. This is commonly done using the IF…THEN…ELSE syntax. In this paper, we will explore various ways to construct conditional SAS logic, including some that may provide advantages over the IF statement. Topics will include the SELECT statement, the IFC and IFN functions, the CHOOSE and WHICH families of functions, as well as some more esoteric methods. We’ll also make sure we understand the difference between a regular IF and the %IF macro statement.

Bio

Josh Horstman is an independent statistical programming consultant and trainer based in Indianapolis with over 20 years’ experience using SAS in the life sciences industry.  He specializes in analyzing clinical trial data, and his clients have included major pharmaceutical corporations, biotech companies, and research organizations.  Josh is a SAS Certified Advanced Programmer who loves coding and is a frequent presenter at SAS User Group meetings.

Share This Event

Noon

Mar 27

PROC REPORT for ODS EXCEL by

Jane Eslinger

bottom of page