Skip to Main Content
Statistical Programming in SAS
book

Statistical Programming in SAS

by John Bailer
April 2015
Intermediate to advanced content levelIntermediate to advanced
460 pages
14h 45m
English
SAS Institute
Content preview from Statistical Programming in SAS
78 Statistical Programming in SAS
1 2 3
1 4 5
2 6 7
;
run;
data m2c;
input ID var1;
datalines;
1 11
2 21
2 22
;
run;
data m12c;
merge m1c m2c;
by ID;
proc print data=m12c;
title "many to one merging issues";
run;
data m1d;
input ID v1 v2;
datalines;
1 2 3
1 4 5
;
run;
data m2d;
input ID var1;
datalines;
1 11
1 12
1 13
;
run;
data m12d;
merge m1d m2d;
by ID;
run;
proc print data=m12d;
title "many to many merging issues";
run;
/* ================================================================ */
/* BASIC SQL stuff >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
/* ================================================================ */
options formdlim="-";
data junk;
input cgroup $ x y @@;
Bailer, John A. Statistical Programming ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Elementary Statistics Using SAS

Elementary Statistics Using SAS

Sandra D. Schlotzhauer

Publisher Resources

ISBN: 9781607645047