Transcription of SAS CHEAT SHEET - Ivy Professional School
{{id}} {{{paragraph}}}
SAS CHEAT SHEET 1. Modifying data- Numerical changes 1. STRUCTURE OF THE DATA DATA ; PROC CONTENTS ; SET ; RUN; FORMAT X Y ; X= LOG (AGE); Y= HEIGHT^2; RUN; 2. TO VIEW THE DATA IN THE OUTPUT WINDOW 2. STRING FUNCTIONS PROC PRINT DATA ; To get the Length of the variable VAR VARIABLE1 VARIABLE2; RUN; LEN(Variable) To concatenate two variables TO OBSERVE THE FIRST 10 OBS.
sas cheat sheet 1. modifying data- numerical changes 1. structure of the data data libname.newdata; proc contents libname.dataset; ... removal of duplicates data lib.m; merge lib.a(in = x) lib.c(in = y); by variables by m; proc sort dataname nodupkey; ...
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}