SAS Global Forum 2009
Paper 084-2009
Implementing Stack and Queue Data Structures with SAS ® Hash Objects
Larry Hoyle
ABSTRACT
The SAS hash object is a convenient tool for implementing two common data structures, the stack and the queue. While either of these may be implemented with arrays, the hash object implementation offers the advantage of dynamic memory management – a maximum memory size does not need to be specified in advance. This paper includes a set of SAS macros that can be used in a DATA step to create and delete stacks or queues and to enter or remove data from those data structures.
Sample code for the DATA Step approach can be found here
Powerpoint Slides
Paper
Paper 229-2009
Visualizing Two Social Networks Across Time with SAS ® : Collaborators on a Research Grant vs. Those Posting on SAS-L
Larry Hoyle
ABSTRACT This paper explores the visualization of two different social networks across time. One consists of people at 23,827 email addresses posting 267,209 messages to 82,279 threads on the email list SAS-L from 1996 through August of 2008. The other, much smaller but more complex, social network includes faculty, staff and students working on the Kansas NSF EPSCoR grant. Capabilities of the %DS2CONST macro and the SAS/GRAPH Annotate facility are compared. The use of Enterprise Guide for managing the process is described.
Paper
Powerpoint Slides
|