English

Rick Wicklin 0
BY-group processing in SAS/IML

Because the SAS/IML language is a general purpose programming language, it doesn't have a BY statement like most other SAS procedures (such as PROC REG). However, there are several ways to loop over categorical variables and perform an analysis on the observations in each category. One way is to use

Data Visualization
Sanjay Matange 0
Bar chart on interval axis

Recently, a user asked about creating a Bar Chart of Value by Date, where the dates are displayed on a scaled interval axis.   Consider this simulated data set of value by date and treatment shown below.  This data set only has one value for each date and treatment combination. We can use the VBAR statement

SAS Events
Waynette Tubbs 0
The countdown to SAS Global Forum

Watch live streaming video from sasglobalforum2012 at livestream.com I have 8 days before I board my plane for Orlando; 9 days until SAS Global Forum officially kicks off with Opening Session; 10 days before the first official mixer with all of my SAS friends; 11 days before the Kickback party,

Rick Wicklin 0
The Poissonness plot: A goodness-of-fit diagnostic

Last week I discussed how to fit a Poisson distribution to data. The technique, which involves using the GENMOD procedure, produces a table of some goodness-of-fit statistics, but I find it useful to also produce a graph that indicates the goodness of fit. For continuous distributions, the quantile-quantile (Q-Q) plot

Data Visualization
Sanjay Matange 0
Simpler is better

A recent article in the SAS and R blog was about current winter temperatures in Albany, NY.  The temperature data for the recent winter (Dec 2011 - Mar 2012) was plotted on a polar graph. Robert Allison posted an article on displaying the same data as a Polar Graph using SAS/GRAPH .  Here is his

Rick Wicklin 0
Creating a periodic smoother

In yesterday's post, I discussed a "quick and dirty" method to smooth periodic data. However, after I smoothed the data I remarked that the smoother itself was not exactly periodic. At the end points of the periodic interval, the smoother did not have equal slopes and the method does not

Rick Wicklin 0
Smoothers for periodic data

Over at the SAS and R blog, Ken Kleinman discussed using polar coordinates to plot time series data for multiple years. The time series plot was reproduced in SAS by my colleague Robert Allison. The idea of plotting periodic data on a circle is not new. In fact it goes

Buffie Silva 0
Celebrating your story

Celebrating anniversaries is part of our culture. We celebrate the important ones – like 50 years of marriage – and the difficult ones, like going a week without chocolate. Parents celebrate the number of times a toddler uses the potty, and teenagers celebrate the weeks they have been dating. Big

Rick Wicklin 0
Count missing values in observations

Locating missing values is important in statistical data analysis. I've previously written about how to count the number of missing values for each variable in a data set. In Base SAS, I showed how to use the MEANS or FREQ procedures to count missing values. In the SAS/IML language, I

Data Visualization
Sanjay Matange 0
Bar-Line graph

A user recently posted a question in the SAS communities forum about  how to best display two measures by one classifier using a Bar-Line graph, where the scale of the two measures is vastly different.  This got me thinking about various different ways to represent such data.  Here are some of my thoughts,

Students & Educators
Nadja Young 0
More than “teaching to the test”: Value-added ROI persists throughout a student’s life

A 23-year Harvard and Columbia University study was recently published shedding new light on the long-term impacts of teachers with both high and low value-added estimates. Researchers Chetty, Friedman, and Rockoff tracked math and reading assessment data on over 2.5 million students from 1989-2009. They then incorporated 90% of these

Data Visualization
Sanjay Matange 0
Cluster groups

The topic of cluster groups comes up often.  By cluster group I am referring to the feature in bar charts where the group values are displayed side by side. With SAS 9.3, SG Procedures support stack or cluster grouping for Bar Charts and overlay or cluster grouping for all other

SAS Events
Waynette Tubbs 0
Managing big data at the speed of risk

“When I started using predictive analytics in 1991, I had a desktop computer with a 600 megabyte hard drive running SAS® 5.0 something,” said Olivia Rud, respected business intelligence thought leader and author of Data Mining Cookbook: Modeling Data for Marketing, Risk and Customer Relationship Management. Technology has vastly improved