Posts Tagged ‘ Serendipity ’

New Community for SAS Drug Development Users

July 3, 2012
By

It has been a while since I got to announce a new community for SAS users.  Our latest community contains great information targeted at users of SAS Drug Development.  This community deviates from our usual offering.  The SAS Drug Development Forum ...
Read more »

Tags: , ,
Posted in SAS | Comments Off

Performance help for customers running SAS on AIX

December 22, 2011
By

Back in September, I shared performance help for SAS 9 users who run on Windows 2008.  At that time, I promised more insights from Margaret Crevar.  Your next installment has arrived! For all the SAS customers running on AIX (5, 6, or 7), please note...
Read more »

Tags: , , ,
Posted in SAS | Comments Off

Add a Diagonal Line to a Scatter Plot: The SAS 9.3 Way

July 27, 2011
By

I've written about how to add a diagonal line to a scatter plot by using the SGPLOT procedure in SAS 9.2. The main idea (use the VECTOR statement) is easy enough, but wriiting a program that handles a line with any slope requires some additional effort...
Read more »

Tags: ,
Posted in SAS | Comments Off

A Simple Signum Function

July 25, 2011
By

The other day I needed to compute the signum function for each element of a matrix. If x is a real number, then the sgn(x) is -1 when x<0, 1 when x>0, and 0 when x=0. I wrote a SAS/IML module that contains a compact little expression: proc iml...
Read more »

Tags: , ,
Posted in SAS | Comments Off

Simulating the Coupon Collector’s Problem

July 22, 2011
By

I recently blogged about how many times, on average, you must roll a die until you see all six faces. This question is a special case of the coupon collector's problem. My son noted that the expected value (the mean number of rolls) is not necessarily ...
Read more »

Tags: ,
Posted in SAS | Comments Off

How Many Times Must You Roll a Die Until Each Side Has Appeared?

July 20, 2011
By

"Dad? How many times do I have to roll a die until all six sides appear?" I stopped what I was doing to consider my son's question. Although I could figure out the answer mathematically, sometimes experiments are more powerful than math equations for s...
Read more »

Tags: ,
Posted in SAS | Comments Off

How I Know When to Blog

July 19, 2011
By

Yesterday, Jiangtang Hu did a frequency analysis of my blog posts and noticed that there are some holidays on which I post to my blog and others on which I do not. The explanation is simple: I post on Mondays, Wednesdays, and Fridays, provided that SAS...
Read more »

Tags: ,
Posted in SAS | Comments Off

An Easy Way to Specify Dates and Times

July 18, 2011
By

Dates and times. As Wayne Finley states in his SUGI25 paper on SAS date and time handling, "The SAS system provides a plethora of methods to handle date and time values." Along with the plethora of methods is a plethora of papers on the topic. If you ...
Read more »

Tags: ,
Posted in SAS | Comments Off

Proc-x is looking for sponsors!

Dear readers, proc-x is looking for sponsors who would be willing to support the site in exchange for banner ads in the right sidebar of the site. If you are interested, please e-mail me at: [email protected]

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.