Learn SAS

Learn about the latest tips, tutorials, upcoming events and certifications

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 0
Spark table

In the previous post, I discussed creating a 2D grid of spark lines by Year and Claim Type.  This graph was presented in the SESUG conference held last week on SAS campus in the paper ""Methods for creating Sparklines using SAS" by Rick Andrews.  This grid of sparklines was actually the

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 0
Spark grid

The 25th annual SESUG conference was held at in the SAS campus this week.  I had the opportunity to meet and chat with many users and attend many excellent presentations.  I will write about those that stood out (graphically) in my view. One excellent presentation was on "Methods for creating

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 0
Long category values

The South East SAS Users Group meeting wound up yesterday.  The 25th anniversary conference was held on SAS Campus and it provided a great opportunity to meet with many enthusiastic SAS users and attend many informative presentations.  More on this in a follow-up article. During one of these presentations, Mary

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 0
Legend order redux

Once in a while you run into a pesky situation that is hard to overcome without resorting to major surgery.  Such a situation occurs when you have a stacked bar chart with a discrete legend positioned vertically on the side of the graph.  A simple example is shown below. title

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 0
Legend items

Plot statements included in the graph definition can contribute to the legend(s).  This can happen automatically, or can be customized using the KEYLEGEND statement.  For plot statements that are classified by a group variable, all of the unique group values are displayed in the legend, along with their graphical representation

Learn SAS
Larry LaRusso 0
SAS Help Center: Your gateway to documentation

To improve is to change; to be perfect is to change often.-Winston Churchill If you've visited SAS documentation (also known as the "SAS Help Center") lately, you may have noticed that we've made some fairly significant changes in the documentation for SAS products and solutions. The new site is organized in a new way, search

Analytics | Learn SAS
Rick Wicklin 0
Principal component regression in SAS

A common question on discussion forums is how to compute a principal component regression in SAS. One reason people give for wanting to run a principal component regression is that the explanatory variables in the model are highly correlated which each other, a condition known as multicollinearity. Although principal component

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 0
Tips and tricks: Segmented discrete axis

The previous post on Multiple Blank Categories showed how to include multiple blank categories on the axis.  But, given the purpose for this was to separate different segments in the data, I also included ideas on how to segmented a discrete axis using reference lines or Block Plot.  A similar idea

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 0
Tips and tricks - Multiple blank categories on axis

Off and on, users have expressed the need to include multiple blank categories on a discrete axis.  Often, this is desirable to separate groups of bars (or categories) in a graph due to some difference their definition.  Such a case was discussed in this blog article on using non breaking

Learn SAS | Programming Tips
Jim Simon 0
How to format a macro variable

Would you like to format your macro variables? Easy!  Just use the %FORMAT function, like this: What?! You never heard of the %FORMAT function? Of course not, cuz it doesn't exist! No problem. Just create it, like this: %macro format(value,format); %if %datatyp(&value)=CHAR %then %sysfunc(putc(&value,&format)); %else %left(%qsysfunc(putn(&value,&format))); %mend format; The %FORMAT

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 0
New Features in SAS 9.40M5 - Gradient fills

ODS Graphics procedures primarily strive towards the following goal:  "Make simple graphs easy and complex graphs possible".   SGPLOT procedure allows you create simple graphs with a single plot statement, and create complex graphs by layering together or combining multiple plot statements.  Generally, the appearance follows the guidelines set by industry

Data Visualization | Learn SAS
Ryan Kumpfmiller 0
An introduction to SAS Visual Analytics: the Parallel Period function of the Derived Item calculations

My new SAS Press book “An Introduction to SAS Visual Analytics” (written in collaboration with Tricia Aanderud and Rob Collum) covers all of the different aspects of SAS® Visual Analytics, including how to develop reports, load data, and handle administration. Below is an example of the types of tips that you can find

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 0
New features with SAS 9.40 M5

SAS 9.4 maintenance release 5 was released on Sept 19, 2017.  This release includes many new items including integration with SAS Viya and SAS Studio, a web application for SAS development.  Also Included with this release are some cool new features in the graphics domain, some of which were requested

1 22 23 24 25 26 48

Back to Top