SAS Tutorial | If-Then / Else Statements

Опубликовано: 07 Ноябрь 2022
на канале: SAS Users
4,340
110

Follow along in the SAS How To Tutorial as technical trainer Brittany Jones walks through best practices of using If-Then / Else Logic. She has several ‘gotcha’ tips to keep you out of a sticky situation!

Chapters
0:00 – Intro to If-Then / Else Statements
2:20 – Start with creating a data set
3:54 – Gotcha #1: LENGTH Statement
5:48 – Gotcha #2: Missing values
6:33 – Gotcha #3: ELSE IF Statement
7:35 – Multiple Conditions
9:23 – DO Groups
9:50 – Gotcha #4: END Statement

Additional Resources
◉ How Do I Debug SAS Data Step? – https://www.sas.com/en_us/webinars/de...
◉ Using Arrays and DO Loops: Do Over or Do I? – https://www.sas.com/en_us/webinars/us...

Other Videos from Brittany
◉ SAS Explore 2022 | Creating Reports Again and Again.....and Again with Macro –    • Creating Reports Again and Again........  
◉ SAS Global Forum 2021 | Connecting the Dots between SAS Viya Products –    • Connecting the Dots Between SAS Viya ...  


SUBSCRIBE TO THE SAS USERS YOUTUBE CHANNEL #SASUsers #LearnSAS
https://www.youtube.com/SASUsers?sub_...

ABOUT SAS
SAS is a trusted analytics powerhouse for organizations seeking immediate value from their data. A deep bench of analytics solutions and broad industry knowledge keep our customers coming back and feeling confident. With SAS®, you can discover insights from your data and make sense of it all. Identify what’s working and fix what isn’t. Make more intelligent decisions. And drive relevant change.

CONNECT WITH SAS
SAS ► https://www.sas.com
SAS Customer Support ► https://support.sas.com
SAS Communities ► https://communities.sas.com
SAS Analytics Explorers ► https://explorers.sas.com
Facebook ►   / sassoftware  
Twitter ►   / sassoftware  
LinkedIn ►   / sas  
Blogs ► https://blogs.sas.com
RSS ► https://www.sas.com/rss