# sas

## sas相关知识

• SAS Iris dataset Plot
SAS Day 34: Background Story: Once, in my machine learning class, the professor asked what software do we use for data science? One student answered: &quot;SAS&quot;. Then the professor laughed and said: &quot;Oh dear, you must be in the wrong class, nobody uses SAS in data science industry&quot;. SAS stands for Statistical Analytic Software, it is most widely used in health-related fields. Although it is known
• SAS Merge
SAS Day 22: Merge  Background: Sometimes we need to obtain information from different datasets, how do we combine two or more datasets in SAS?  Most cases, we use the &quot;Merge&quot; statements, however,  depends on the data structures, we need to use SQL if it is many to many mapping. P.S. regardless of Merge or SQL, we need to have at least a specific common variable.  Problem: We want to c
• SAS Proc SQL Join
SAS day 24: Proc SQL Join Review: Last time we went to over SAS Merge, it is a SAS Merge statement used for 1 - 1 mapping or One - Many mapping, What should we do for many to many mapping? Problem: Suppose we want to generate a dataset which has the combined info from both dataset A and B. Note: Data A and B both have more than 1 record for each patient. Sample Dummy Dataset: Data
• SAS Space
SAS Day 24: Space Trick Background: My boss has a motto &quot;Devil in the details&quot;. I think all the Space- Related issues are the &quot;Devil&quot; in SAS. Today, we will go over the function and tricks I used to deal with Space. Remove Space: Compress, Compbl, Strip, Trim Concatenate with Remove Space: ||, CAT, CATS, CATX, CATT [caption id=&quot;attachment_1626&quot; align=&quot;alignnone&quot; width=&quot;550&quot;] analogicus / Pixaba