Newsletter Header 12-2-10

                                                                                                June 2013

News and Technical Information
From the NorthEast SAS Users Group
In This Issue
NESUG Proceedings Available Online
NEW!! One-Day Passes!
Experience Burlington
Pre-Conference Training
Technical Tip
Stay Connected with NESUG!
Quick Links


  
Join Our Mailing List

Welcome NorthEast SAS Users!

   

Welcome to NESUG 2013! We have a great program planned this year including over 125 papers, presentations and workshops in 10 different sections.  New this year is the Big Data section that will address the problems which may occur when dealing with very large amounts of data and the techniques and solutions to work with them efficiently and effectively. The new Visual Displays section will include posters as always and even more electronic displays. The new Quick Tips will include your old favorite, Coders' Corner, with even more quick tips and tricks.

 

We will also have all the traditional sections like Foundations and Fundamentals, Beyond the Basics, Graphics and Reporting, Hands-on Workshops, Management Administration and Support, Pharma Healthcare and Life Sciences, and Statistics and Modeling.

 

Since we are in beautiful Burlington, Vermont, be sure to make some time to see the scenery. You can also join the Monday night dinner cruise to meet some of your colleagues and take in the magnificent beauty of Lake Champlain. 

 

Don't pass up this opportunity to come join us. Stay in touch through Facebook and LinkedIn and we'll see you in September in Burlington.

 

The NESUG Executive Committee

Registration is now open

 

Sign up now and save!

  

Registration is now open for the NESUG 2013 Conference and Educational Forum - September 8-11 in Burlington, Vermont. No matter what your experience level with SAS, this educational forum will help improve your programming skills and get the most out of your SAS applications.

 

Conference sections include: 

  • Beyond the Basics
  • Big Data
  • Foundations & Fundamentals
  • Graphics & Reporting
  • Hands-on Workshops
  • Management, Administration and Support
  • Pharma, Healthcare & Life Sciences
  • Quick Tips (Coders' Corner + more)
  • Statistics & Modeling
  • Visual Displays (Posters + more)

 

Click HERE to register now.

NEW!! One-day Passes!

 

If you only have one day to spend at the conference, you can register for a one-day pass. The pass admits you to all sessions and activities for the day for which the pass is purchased. Each pass is $300 if purchased before July 24, $350 if purchased during regular registration, and $400 if purchased on-site.

 

Register for your one-day pass now.

 

Experience Burlington!

National Geographic Traveler named Burlington "The Perfect Small City." Burlington claims to be a flawless blend of city sophistication and stunning natural beauty! Burlington is old and new, funky and chic, cultured and hip, graceful yet authentic. It is an epicenter of outdoor activity and urban delight.

 

Whether you have a passion for the outdoors, an interest in the arts, or prefer browsing boutiques and hunting for antiques, Burlington has it all to fit the bill. It is loaded with dizzying array of excellent restaurants run by world-renowned chefs, elegant theaters, modish coffee shops, and shops that range from designer boutiques to handcrafted artistry.

 

At night, Burlington turns into a live music hotspot where you can sip a local brew, soak in some amazing tunes, and watch the world go by - or hit the dance floor!  And, of course, you can enjoy the spectacular natural beauty of Vermont's Lake Champlain and Green Mountains.

 

Plan to stay a few extra days for sightseeing and vacation.

Pre-Conference Training

 

Workshop NESUG is all about learning so we will be having a full weekend of training before the conference begins. There are classes in a variety of subjects taught by experienced instructors, so you could come early and take advantage of several great opportunities to build up your SAS skills. Each half-day class will be $125. You can register for the class at the same time you register for the conference.

 

For more information on Pre-Conference Training, click HERE.

For detailed information on the classes, click on the links below:

 

 

Technical Tip

    

Here is a Technical Tip from Dr. Ron Cody, one of our busiest presenters. Cody Ron was a Professor of Biostatistics at the Robert Wood Johnson Medical School in New Jersey for 26 years and is now a private consultant and writer.  He has been a SAS user since the late 70's and is the author of several books with SAS Press.  In Burlington Ron will be doing 2 pre-conference training classes as well as a paper presentation.

 

A Novel Way to Count Values

by Ron Cody

 

Let's look at a common task. You have a data set containing the responses to five questions (variables Q1-Q5). You would like to count the number of Y's and N's (ignoring case) for each subject in the questionnaire. A traditional approach to this problem is to create an array of the five variables, initialize two counters to zero (one to count the Y's and one to count the N's) and use a DO loop to cycle through the five questions, incrementing the appropriate counter depending on whether the response is a Y or an N. The program below demonstrates this approach:

 

*Data set Questionnaire containing Y and N responses to 5 questions;

data Questionnaire;

   input Subj (Q1-Q5)(: $1.);

   array Q[5];

   Num_Y = 0;

   Num_N = 0;

   do i = 1 to 5;

     if upcase(Q[i]) eq 'Y' then Num_Y + 1;

     else if upcase(Q[i]) eq 'N' then Num_N + 1;

   end;

   drop i;

datalines;

1 y y n n y

2 N N n   Y

3 N n n n n

4 y Y n N y

5 y y y y y

;

 

Here is a listing of the resulting data set: 

Sub jQ1Q2Q3Q4Q5Num_YNum_N
1yynnt32
2nnny313
4yynny32
5yyyyy50

 

This is a simple, straightforward program. However, using the COUNTC and CATS functions, you can greatly simplify the solution as shown next:

 

*Solution using the Count and Cats functions;

data Questionnaire;

   input Subj (Q1-Q5)(: $1.);

   Num_Y = countc(cats(of Q1-Q5),'Y','i');

   Num_N = countc(cats(of Q1-Q5),'N','i');

datalines;

1 y y n n y

2 N N n   Y

3 N n n n n

4 y Y n N y

5 y y y y y

;

 

The CATS function (I like to pronounce it Cat - S) concatenates each of the arguments after stripping off the leading and trailing blanks (the "S" stands for strip). You now have a string of Y's and N's. The first argument to the COUNTC function is the string you want to examine. The second argument is the character you want to count, the third (optional) argument is a modifier-the 'i' modifier says to ignore case. The result is a very quick and easy way to count the number of Y's and N's in the five questions.

 

Using the CATS function allows you to combine responses from multiple variables and convert them to a single string.

 

This tip is one of many that can be found in my latest book, Cody's Collection of Popular Programming Tasks and How to Tackle Them

 

 

 

Stay Connected with NESUG!
  

Now it's easier than ever to stay in touch with NESUG throughout the year.  Follow the latest developments as we plan for the conference, find out about upcoming local meetings in your area, and much more. 

 

Also, NESUG wants to hear from you.  Become a fan of NESUG on Facebook and add to our wall and join our group on LinkedIn.  Simply click on any of the links below for more information.  See you online!


 


 


Linked In Logo

 

Linked In Group


NorthEast SAS Users Group