Side-by-side bar plots in SAS 9.3

August 12, 2011
By

When I was at the Joint Statistical Meetings (JSM) last week, a SAS customer asked me whether it was possible to use the SGPLOT procedure to produce side-by-side bar charts. The answer is "yes" in SAS 9.3, thanks to the new GROUPDISPLAY= option on the ...
Read more »

Rolling Window Regression of Time Series

August 10, 2011
By

More often than not, we encounter a problem where an OLS over a rolling time window is required, see , , , , , , , for a few examples. One solution is to resort to SAS MACRO, but it is extremely inefficient and can't handle lar...
Read more »

Rolling Regression of Time Series

August 10, 2011
By

proc datasets library=work kill; run; options fullstimer; data test; do seq=1 to 500000; x1=rannor(9347957); *x2=rannor(876769)+0.1*x1; epsilon=rannor(938647)*0.5; ...
Read more »

Rolling Regression of Time Series

August 10, 2011
By

proc datasets library=work kill; run; options fullstimer; data test; do seq=1 to 500000; x1=rannor(9347957); *x2=rannor(876769)+0.1*x1; epsilon=rannor(938647)*0.5; ...
Read more »

Coding, GUIs and Statistical Rituals

August 10, 2011
By

I was recently inspired to comment on this blog post, asking is R is a cure for ‘mindless statistics’. Anyone whose familiar with statistics used in applied fields like epidemiology, sociology, social sciences generally will be familiar with the idea of a ‘statistical ritual’. Rather than think about the proper statistical approach to every...
Read more »

Do you really need to compute that matrix inverse?

August 10, 2011
By

The SAS/IML language provides two functions for solving a nonsingular nxn linear system A*x = c: The INV function numerically computes the inverse matrix, A-1. You can use this to solve for x: Ainv = inv(A); x = Ainv*c;. The SOLVE function numerically ...
Read more »

First One In Gets the Win

August 9, 2011
By

Yikes, it's been a while since the last update! So I will try to keep this one short and useful. Most everybody knows there are essentially two ways for tables to be merged in SAS: using the merge statement in the data step and using a join in SQL. ...
Read more »

First One In Gets the Win

August 9, 2011
By

Yikes, it's been a while since the last update! So I will try to keep this one short and useful. Most everybody knows there are essentially two ways for tables to be merged in SAS: using the merge statement in the data step and using a join in SQL. ...
Read more »

First One In Gets the Win

August 9, 2011
By

Yikes, it's been a while since the last update! So I will try to keep this one short and useful. Most everybody knows there are essentially two ways for tables to be merged in SAS: using the merge statement in the data step and using a join in SQL. ...
Read more »

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.

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: tal.galili@gmail.com
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.