SAS Tutorial | If-Then / Else Statements
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/debug-sas-data-step.html ◉ Using Arrays and DO Loops: Do Over or Do I? – https://www.sas.com/en_us/webinars/using-arrays-and-do-loops.html Other Videos from Brittany ◉ SAS Explore 2022 | Creating Reports Again and Again.....and Again with Macro – https://youtu.be/lxTKVvZdtTA ◉ SAS Global Forum 2021 | Connecting the Dots between SAS Viya Products – https://www.youtube.com/watch?v=y9B4fR9SSAs SUBSCRIBE TO THE SAS USERS YOUTUBE CHANNEL #SASUsers #LearnSAS https://www.youtube.com/SASUsers?sub_confirmation=1 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 ► https://www.facebook.com/SASsoftware Twitter ► https://www.twitter.com/SASsoftware LinkedIn ► https://www.linkedin.com/company/sas Blogs ► https://blogs.sas.com RSS ► https://www.sas.com/rss
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.