English

Rick Wicklin 0
Explaining coincidence

I was on vacation when a family member sidled up to me. "Rick, you're a statistician..." he began. I knew I was in trouble. He proceeded to tell me the story of Joseph "Newsboy" Moriarty, a New Jersey mobster who rose to prominence and became known as the bookie who

Data Visualization
Sanjay Matange 0
Timeseries plots with regimes

Recently we discussed the features of the Shiller Graph, showing long term housing values in the USA.  To understand the features necesary in the SGPLOT procedure to create such graph easily, it was useful to see how far we can go using GTL as released with SAS 9.2(M3). I got the data Shiller Housing index data

Rick Wicklin 0
Constants in SAS

Statistical programmers often need mathematical constants such as π (3.14159...) and e (2.71828...). Programmers of numerical algorithms often need to know machine-specific constants such as the machine precision constant (2.22E-16 on my Windows PC) or the largest representable double-precision value (1.798E308 on my Windows PC). Some computer languages build these

Chris Hemedinger 0
Splitting hairs among the ranks

This morning I logged onto my e-mail at 6:45 AM to learn that SAS was ranked as the No. 3 Best Company to Work For. No. 3 is not as high as No. 1.  But it's very, very close.  Perhaps even barely distinguishable, in the larger scheme of things. I

Data Visualization
Dan Heath 0
They go where you put them

An issue that SAS/GRAPH users have wrestled with in the past has been how to put tick marks at irregular intervals on their axes. In PROC GPLOT, if you specify irregular intervals using the ORDER option on the AXIS statement, the procedure’s axis kicks into a “discrete” mode, where the

SAS Events
Sara Jones, CMP 0
It’s YOU not me!

Sadly, SAS did not three-peat as the No. 1 Best Company  to Work For on Fortune’s famous list, but from my point of view, SAS will always be No. 1. It’s not the Healthcare Center or the Pharmacy on campus. It’s not the daycare or the four cafés, also on

SAS Events
Sara Jones, CMP 0
Happy New Year!

No, I’m not late posting this - early, actually. The Chinese New Year begins January 23. The 15-day celebration is a time to spend with friends and family and welcome longevity, good fortune, wealth and happiness. My husband visits China often for work, and some dear friends of ours just

Rick Wicklin 0
Compute a running mean and variance

In my recent article on simulating Buffon's needle experiment, I computed the "running mean" of a series of values by using a single call to the CUSUM function in the SAS/IML language. For example, the following SAS/IML statements define a RunningMean function, generate 1,000 random normal values, and compute the

Analytics | SAS Events
0
Our conference lineup for 2012

Here at SAS Publishing, we’ve started the new year off with a bang, particularly when it comes to conferences. We’re attending a number of new shows in addition to the usual lineup this year. Visit our booth, meet our authors, check out our new and forthcoming titles, and talk with

SAS Events
Waynette Tubbs 0
IFSUG Summit registration now open!

Are you a SAS professional working in the insurance or financial services industry? Are you looking for a place where you can talk with others who work in the those industries? Would you like to get together and network, face-to-face, or share ideas and best practices for using SAS? There is now a SAS Users Group just for you;

Rick Wicklin 0
Reading ALL variables INTO a matrix

The SAS/IML READ statement has a few convenient features for reading data from SAS data sets. One is that you can read all variables into vectors of the same names by using the _ALL_ keyword. The following DATA steps create a data set called Mixed that contains three numeric and

Data Visualization
Sanjay Matange 0
The more the merrier

Often it is useful to view multiple responses by a common independent variable all in the same plot.  SGPLOT procedure and GTL support the ability to view two responses, one each on the Y and Y2 axes by one independent variable (X) in one graph.  Yes, you can also have X

Rick Wicklin 0
Overlay density estimates on a plot

A recent question on a SAS Discussion Forum was "how can you overlay multiple kernel density estimates on a single plot?" There are three ways to do this, depending on your goals and objectives. Overlay different estimates of the same variable Sometimes you have a single variable and want to

Learn SAS
Sean Gargan 0
SAS OnDemand and great practice data

You know the old joke about the guy who jumps into a taxi and asks the driver, “Do you know how to get to Carnegie Hall?” and the driver replies, “Practice, practice, practice”.  Well SAS OnDemand may not be your ticket to Carnegie Hall but it’s a great practice environment

Data Visualization
Sanjay Matange 0
Custom confidence intervals

Recently a user posted a question on the SAS/GRAPH and ODS Graphics Forum about drawing a plot with custom confidence intervals .  The user has a simple data set with category, response (mean) and custom lower and upper confidence intervals.  The data looks like this: Robert Allison provided the code (proc gplot +

1 282 283 284 285 286 325