English

Rick Wicklin 0
Construct a magic square of any size

Magic squares are cool. Algorithms that create magic squares are even cooler. You probably remember magic squares from your childhood: they are n x n matrices that contain the numbers 1,2,...,n2 and for which the row sum, column sum, and the sum of both diagonals are the same value. There are many

Rick Wicklin 0
The MOD function and negative values

When I studied math in school, I learned that the expression a (mod n) is always an integer between 0 and q – 1 for integer values of a and q. It's a nice convention, but SAS and many other computer languages allow the result to be negative if a (or q) is

Data Visualization
Sanjay Matange 0
How about some pie?

Pie charts have been the subject of some criticism when they are used to compare measures across multiple categories.  It is generally accepted that comparison of magnitudes represented as angular measures from varying baselines is not effective. However here are some use cases where a pie chart does quite well. When it comes

Michelle Homes 0
Value of SAS

As a trainer for SAS Education Australia and chairperson of the local SAS User Group, QUEST (Queensland Users Exploring SAS Technology) , I meet many new SAS users over the years. In July 2011, I met Kim MacKenzie, a lecturer at Queensland University of Technology (QUT), Brisbane, Australia at an Enterprise

Data Visualization
Sanjay Matange 0
Compact Scatter Plot Matrix

The Scatter Plot Matrix is a great tool that provides a quick visual of potential associations between variables.  This may provide the analyst some hints on how to proceed with the analysis. Matrix of lab values for liver function tests are commonly used in clinical research.  The SGSCATTER procedure provides an easy way

Waynette Tubbs 0
SAS loves math ... of course

Every summer, SAS hires interns from colleges across the US. Now, I've worked at other organizations, and I've worked with interns before. These guys are brilliant - the rising stars of industry. This year, one of the summer interns is Dylan Sweetwood. He'll be returning to Stanford in the fall,

Data Visualization
Sanjay Matange 0
Non-breaking space

Forest plots come in many flavors.   An example of a Forest plot using GTL is available on the SAS support web site.  Simple forest plots can also be created using SGPLOT procedure by using the SCATTER statement with MARKERCHAR to display data aligned with the plot by study names. One issue

Chris Hemedinger 0
I'm a WUSS and proud of it

When the Western Users of SAS Software gather in Long Beach, CA this September, I'll be proud to be counted among the WUSSers. (You can learn more about WUSS here; don't look here.) The WUSS organizers must have some serious clout, because the line-up of presenters reads like a "Who's

Advanced Analytics
Waynette Tubbs 0
Friday's Innovation Inspiration - Ratemaking

In this Innovation Inspiration, a SAS user has developed the insurance rating plans for a country using predictive modeling. How exciting! Additionally, the system adjusts based upon actual experience. This is quite the accomplishment given the complexity of the ratemaking for even a small geographical territory. The comments section reveal the identity of this innovator. Check it out.

Data Visualization
Sanjay Matange 0
Extended Bands

In the Clinical Research domain, there is often the need to display lab values by treatment or test and it is often useful to view this data along with reference lines showing the normal ranges.  The obvious way is to use reference lines to denote the normal ranges. SGPLOT Code: proc sgplot data=band; scatter x=x y=y

Rick Wicklin 0
How to get data values out of ODS graphics

Many SAS procedures can produce ODS statistical graphics as naturally as they produce tables. Did you know that it is possible to obtain the numbers underlying an ODS statistical graph? This post shows how. Suppose that a SAS procedure creates a graph that displays a curve and that you want

1 277 278 279 280 281 321