Trivial Pursuit, Justin Bieber and Timbits. Some pretty great things have come from Canada, eh? Well, you can go ahead and add expert SAS programmers to that impressive list.
In this video, six Canadian SAS programmers, with more than 115 years of SAS programming experience between them, share some of their favorite, little-known SAS programming tips. You're sure to discover a new trick or two.
The video includes the following tips and more:
- Standardizing and documenting your SAS program.
- Creating parameter lookup tables.
- Declaring your macro variables.
- Using the Characterize Data task in SAS Enterprise Guide.
- Data exploration best practices for SAS Enterprise Guide.
Looking for more great tips to help bring your SAS programming skills to the next level? Check out these great resources and learn even more from your SAS peers:
- SAS Support Communities: Peer-to-peer support for SAS users about programming, data analysis, installation and deployment issues, tips and best practices and a whole lot more. Visit the SAS Programming Community.
- SAS Blogs: Connecting you to people, products and ideas from SAS with technical tips, support information and more. Visit "Programming Tips" on SAS blogs.
- SAS Newsletters: The latest news, tips, tricks and resources from SAS, plus advice and industry knowledge gleaned from top experts and other SAS users.
26 Comments
Who can assist me on %NLINMIX macro for a nonlinear split-plot design modelling with the WP & SP as variance components. The main aim is to compare the OLS & EGLS estimated parameters. For the EGLS, the variance components has to be estimated using ANOVA, MLE & REML.
I run a SAS version 9.4 but the %NLINMIX don't run on it. Please I really need help. This is seriously frustrating my life & holding my progress to graduation.
I will be very grateful for assistance from anyone.
Email: ikwuoche8@gmail.com
I also have the same issue. did u get any help?
You can turn several thousand SAS users loose on this problem by posting it to the SAS Communities. I can pretty much assure you that you'll get an answer quickly!
https://communities.sas.com/
Good luck.
great tips
All tips are very good and well presented! And I am happy to be able to say that I knew and follow most of them.
Wow, lots of highlights, i'll have to into practicing some like declaring variables as global or local. Thanks for the tips.
Very useful. Thanks!
This is very nice 🙂
The video had some great pointers - thank you!
EG tips were very useful.
I like the tip about declaring macro variables as local or global and I have a mental note to go study how to do this.
I would really like to see blogs on admin subjects. It could be SAS blogs or independent blogs. I'm seriously considering starting my own.
Hi Mathieu,
Thanks for your comment. I just wanted to point out some places where you can find excellent postings on SAS administration topics. You'll be happy to hear that we have many, many blogs for SAS administrators. You can find all administration-related posts here: http://blogs.sas.com/content/topic/sas-administrators/. In addition to our blogs, I encourage you to check out our Administration and Deployment community. You'll find a ton of conversation around SAS Administration topics, including featured articles from SAS experts at https://communities.sas.com/t5/Administration-and-Deployment/bd-p/sas_admin. Enjoy... and let me know if you have any other questions.
Larry
With big datasets, you can use the compress option in the data statement to shrink your dataset file. This is specialy useful if you have to move the file afterwards or if you have a slow hard drive and a fast cpu
Great video.
Great tips
Great tips.
Great tips on documenting the program code.
These blogs are gold mines,
Thanks for the tips.
Excellent tips! Thanks everyone for sharing.
Very useful and informative tips.
Thanks for the great article!
Most of the Tips are really helpful and please keep up your good work.
Reading and submitting tips are excellent ways to learn about new procs, functions and methods
There is also a daily tip on sasCommunity.org. Users are welcome to submit their own tips, too!