stock 1
August 2008
News and Technical Information
From the NorthEast SAS Users Group
In This Issue
Pre-Conference Training
New! Two-Minute Tech Tips
More than 130 Presentations to Choose From
Tech Notes: Working with RGB Codes to Match Your Logo - Perfectly
Quick Links
Join Our Mailing List
Greetings!
 
The 2008 NESUG Annual Conference is shaping up to be our best ever! This newsletter issue highlights just some of the tremendous learning opportunities available. We've also included a helpful Tech Note from Perry Watts. Enjoy!
Come a day or two early and learn even more! 
Pre-Conference Training and Sunday Workshops
 
Check out our full and half-day Pre-Conference Training and Sunday morning Workshop options. They include proven classes by talented and experienced instructors, such as:

- - Introduction to the SAS Business Intelligence (BI) Tools
(Instructor:  Ben Cochran, The Bedford Group)

- - SAS Macro Programming Tips and Techniques (Instructor: Kirk Lafler, Software Intelligence Corporation)

- - Output Delivery System (ODS) Programming -- The Basics and Beyond (Instructor:  Kirk Lafler, Software Intelligence)

- - The Nitty Gritty of PROC REPORT (Instructor: Malachy (Mal) J. Foley, University of North Carolina at Chapel Hill)
Two-Minute Tech Tips 
New at NESUG 2008!
 
Have you ever looked at a few lines of SAS code and thought, "Hey, that's a really neat idea!" Is there a macro or a chunk of code you pull into every program you write? How about a function you can't get through a workday without? 

If so, this will be your opportunity to share your favorite snippet of SAS code with others. If you have a great idea you are willing to present, but it wasn't substantial enough to build a paper around, this will be the venue for you.

The rules are simple:
1.There will be no formal papers associated with this segment, but we will need your presentation slides in advance.
2. You can use a maximum of two slides to show your code and demonstrate its value.
3. Each talk will last a maximum of two minutes. If you are interested in presenting an idea, please send your presentation or related questions to nesug2mtt@hotmail.com.
More than 130 Paper and Poster Presentations to Choose From
 
No matter what your interest or experience level, there are presentations and workshops to help you use SAS more effectively. Here are just a few of the offerings:
  • Introducing the SASŪ Code Analyzer 
  • Building the Better Macro: Best Practices for the Design of Reliable, Effective Tools 
  • A Sampler of What's New in Base SASŪ 9.2 
  • Get Your Hands Dirty Cleaning Your Data with SASŪ Data Quality Server 
  • Adverse Event Tables Without Surgical Intervention 
  • Merging Data Seven Different Ways 
  • Extending the Power of SASŪ with Java 
  • A Row Is a Row is a Row, or Is It? Get Comfortable with Transposing Your Data 
  • PROC LOGISTIC: Traps for the Unwary

Check out the full schedule of presentations and workshops

Tech Notes 
A handy technical tip from Perry Watts (that's Perry rowing the boat in the photo below)
 
Perry WattsWorking with RGB Codes to Match Your Logo - Perfectly
 
Experts recommend that color be used sparingly and consistently in presentations. Graphs and text that match company logos are pleasing to the eye. Below is a list of steps for converting RGB (red-green-blue) decimal color codes from internet downloads to hexadecimals used by SASŪ. The NESUG 2008 logo is used in the example.
 
1) Download the logo from the NESUG web site by pressing the right mouse button and Save Picture As.

2) Double-click on the downloaded JPG file to bring up the Windows Pictures and Fax Viewer. Next, right-click and select edit. While in edit mode select a color by pressing the eyedropper tool over the blue sky.

3) Now press Colors>Edit Colors and then select Define Custom colors to bring up the slider tool with the supplied RGB decimal code. Don't define a color. Instead, record the displayed code and exit the application.

4) Go into PowerPoint and create a text box containing the recorded code. Alter the background color of the text box by selecting Format Text Box and then More Colors under Fill Color. Click on the Custom tab and re-enter the saved code in PowerPoint so that the fill color for the text box is turned into NESUG blue.

5) Copy and paste the newly colored text box into the same PowerPoint page and again select the Custom tab to bring up the slider bar. Move the slider bar to choose a lighter or darker shade of the same color. Save the RGB code and enter it into the changed text box.

6) Repeat steps 2-5 for each hue to come up with a table of text boxes containing related decimal RGB codes.

7) Run the SAS macro GETRGBHEXVAL to get the hexadecimal translations:
 
/* OPTIONS ENABLE COPYING OUTPUT
   DIRECTLY FROM THE LOG WINDOW */
options NONOTES NOSOURCE;
 
%macro GetRGBHexVal(ColorDesc,rr,gg,bb);
 %Local rgbhex;
/* SAS TRUNCATES BY DEFAULT */
 %let rr=%sysfunc(round(&rr));
 %let gg=%sysfunc(round(&gg));
 %let bb=%sysfunc(round(&bb));
/* WHERE CODE TRANSLATION OCCURS */
 %let RGBHEX =
%sysfunc(compress(CX%sysfunc(putn(&rr,hex2.))
   %sysfunc(putn(&gg,hex2.))
  %sysfunc(putn(&bb,hex2.))));
/* OUTPUT FROM THE MACRO FUNCTION */
 %put %upcase(&ColorDesc);
 %put
 Decimal RGB = &rr.,&gg.,&bb HEX RGB = &RGBHEX;
 %put;
%mend GetRGBHexVal;
 
/* MACRO CALLS */
%getRGBHexVal(NESUG BLUE, 4,152,214);
%getRGBHexVal(NESUG DARK BLUE, 3,134,190);
%getRGBHexVal(NESUG GOLD, 255,207,9);
%getRGBHexVal(NESUG DARK GOLD, 191,153,0);
8) Paste the output from the SAS LOG into a PowerPoint slide. The logo and color table has also been inserted into the slide along with a bar chart that uses the newly defined colors.

Tech Tip Graphic 8-08
 
Thanks to Our Newsletter Sponsor
 
Statistics dot com logo
 
Online courses from noted authors--Linear and Logistic Regression, GLM, Longitudinal/Panel Data, Mixed Models, Survival Analysis, Missing Data, Forecasting, Categorical Data Analysis, over 50 courses.  Use the promo code NESUG for a 25% tuition discount!  For more information go to www.statistics.com.


This newsletter has only hit the highlights of NESUG 2008. Don't miss out on the best deal in SAS training available. If you haven't already registered, do it today -- and we'll see you in Pittsburgh in a couple of weeks.
 
Sincerely,
 
Earl Westerlund
Program Chair

NorthEast SAS Users Group