Search Results: sgplot (958)

Rick Wicklin 0
Add a diagonal line to a scatter plot

In my statistical analysis of coupons article, I presented a scatter plot that includes the identity line, y=x. This post describes how to write a general program that uses the SGPLOT procedure in SAS 9.2. By a "general program," I mean that the program produces the result based on the

Rick Wicklin 0
The area under a density estimate curve

Readers' comments indicate that my previous blog article about computing the area under an ROC curve was helpful. Great! There is another common application of numerical integration: finding the area under a density estimation curve. This article provides an overview of density estimation and computes an empirical cumulative density function.

Rick Wicklin 0
Overlaying two histograms in SAS

A reader commented to me that he wants to use the HISTOGRAM statement of the SGPLOT procedure to overlay two histograms on a single plot. He could do it, but unfortunately SAS was choosing a large bin width for one of the variables and a small bin width for the

Rick Wicklin 0
Funnel plots: An alternative to ranking

In a previous blog post, I showed how you can use simulation to construct confidence intervals for ranks. This idea (from a paper by E. Marshall and D. Spiegelhalter), enables you to display a graph that compares the performance of several institutions, where "institutions" can mean schools, companies, airlines, or

Advanced Analytics
Rick Wicklin 0
Ranking with confidence: Part 1

I recently posted an article about representing uncertainty in rankings on the blog of the ASA Section for Statistical Programmers and Analysts (SSPA). The posting discusses the importance of including confidence intervals or other indicators of uncertainty when you display rankings. Today's article complements the SSPA post by showing how

SAS Events
Mike Kalt 0
Can SAS/GRAPH Get You a Gig in Vegas?

A few months ago I wrote a blog entry titled "SAS/GRAPH "SG" Procedures--Not Just for Statisticians!" It was so well received that I was invited to open for Celine Dion at Caesar's Palace in Las Vegas! Well, not really, but I was invited (along with co-blogger Cynthia Zender) to give

Advanced Analytics
Rick Wicklin 0
When sharks attack!

The Junk Chart blog discusses problems with a chart which (poorly) presents statistics on the prevalence of shark attacks by different species. Here is the same data presented by overlaying two bar charts by using the SGPLOT procedure. I think this approach works well because the number of deaths is

Chris Hemedinger 0
This list goes to 11

It's almost 2011, so let's reflect on the top 11 posts (by number of visits in 2010) on this blog. Not all of these posts were written in 2010; in fact, some of these date back to 2007. But apparently they are oldies and goodies. 1. SAS 9.2 and SAS

Chris Hemedinger 0
Coat check conspiracy

As a dedicated SAS employee, I take advantage of as many offered perks as I can, and that includes attending the annual SAS Winter Party. My wife and I have not missed one since I started working here, which means that last weekend we attended for the 16th time. Every

Programming Tips
Chris Hemedinger 0
Mmm, dogfood

Here at SAS, we eat our own dogfood*. Actually, that's an understatement -- it's better to say that we feast on it. I've been using SAS 9.2 (released earlier this year) and SAS Enterprise Guide 4.2 (not yet released) for many months (years, actually) to accomplish several tasks, including to

1 30 31 32