SAS

Blogs on the SAS software

Creating heat maps in SAS/IML

August 20, 2014
By
Creating heat maps in SAS/IML

In a previous blog post, I showed how to use the graph template language (GTL) in SAS to create heat maps with a continuous color ramp. SAS/IML 13.1 includes the HEATMAPCONT subroutine, which makes it easy to create heat maps with continuous color ramps from SAS/IML matrices. Typical usage includes […]

Read more »

R Passes SPSS in Scholarly Use, Stata Growing Rapidly

August 20, 2014
By
R Passes SPSS in Scholarly Use, Stata Growing Rapidly

by Robert A. Muenchen Here is my latest update to The Popularity of Data Analysis Software. To save you the trouble of reading all 25 pages of that article, the new section is below. The two most interesting nuggets it contains are: … Continue reading →

Read more »

Example 2014.10: Panel by a continuous variable

August 18, 2014
By
Example 2014.10: Panel by a continuous variable

In Example 8.40, side-by-side histograms, we showed how to generate histograms for some continuous variable, for each level of a categorical variable in a data set. An anonymous reader asked how we would do this if both the variables were continuous. ...

Read more »

Creating a basic heat map in SAS

August 18, 2014
By
Creating a basic heat map in SAS

Heat maps have many uses. In a previous article, I showed how to use heat maps with a discrete color ramp to visualize matrices that have a small number of unique values, such as certain covariance matrices and sparse matrices. You can also use heat maps with a continuous color […]

Read more »

Guiding numerical integration: The PEAK= option in the SAS/IML QUAD subroutine

August 13, 2014
By
Guiding numerical integration: The PEAK= option in the SAS/IML QUAD subroutine

One of the things I enjoy about blogging is that I often learn something new. Last week I wrote about how to optimize a function that is defined in terms of an integral. While developing the program in the article, I made some mistakes that generated SAS/IML error messages. By […]

Read more »

Example 2014.9: Rolling averages. Also: Second Edition is shipping!

August 11, 2014
By
Example 2014.9: Rolling averages.  Also: Second Edition is shipping!

As of today, the second edition of "SAS and R: Data Management, Statistical Analysis, and Graphics" is shipping from CRC Press, Amazon, and other booksellers. There are lots of additional examples from this blog, new organization, and other features ...

Read more »

Ten tips for learning the SAS/IML language

August 11, 2014
By
Ten tips for learning the SAS/IML language

A SAS customer wrote, "Now that I have access to PROC IML through the free SAS University Edition, what is the best way for me to learn to program in the SAS/IML language? How do I get started with PROC IML?" That is an excellent question, and I'm happy to […]

Read more »

Define an objective function that evaluates an integral in SAS

August 6, 2014
By
Define an objective function that evaluates an integral in SAS

The SAS/IML language is used for many kinds of computations, but three important numerical tasks are integration, optimization, and root finding. Recently a SAS customer asked for help with a problem that involved all three tasks. The customer had an objective function that was defined in terms of an integral. […]

Read more »

Stigler’s seven pillars of statistical wisdom

August 5, 2014
By
Stigler’s seven pillars of statistical wisdom

Wisdom has built her house; She has hewn out her seven pillars.      – Proverbs 9:1 At the 2014 Joint Statistical Meetings in Boston, Stephen Stigler gave the ASA President's Invited Address. In forty short minutes, Stigler laid out his response to the age-old question "What is statistics?" His answer was […]

Read more »

Reversing the limits of integration in SAS

August 4, 2014
By
Reversing the limits of integration in SAS

In SAS software, you can use the QUAD subroutine in the SAS/IML language to evaluate definite integrals on an interval [a, b]. The integral is properly defined only for a < b, but mathematicians define the following convention, which enables you to make sense of reversing the limits of integration: […]

Read more »


Subscribe

Email:

  Subscribe