Blog Archives

What is the best way to suppress ODS output in SAS?

May 26, 2015
By
What is the best way to suppress ODS output in SAS?

SAS procedures can produce a lot of output, but you don't always want to see it all. In simulation and bootstrap studies, you might analyze 10,000 samples or resamples. Usually you are not interested in seeing the results of each analysis displayed on your computer screen. Instead, you want to […] The post What is the best way to suppress ODS output in SAS? appeared first on The DO Loop.

Read more »

Direct me to the nuclear Bessels!

May 20, 2015
By
Direct me to the nuclear Bessels!

When I was an undergraduate physic major, my favorite professor would start each class with a joke or pun. One day he began class with a paraphrase of a famous quote from the movie Star Trek 4: The Voyage Home (the one with the whales). "Today," my professor said, imitating […] The post Direct me to the nuclear Bessels! appeared first on The DO Loop.

Read more »

Improving the NC vehicle inspection pie chart

May 18, 2015
By
Improving the NC vehicle inspection pie chart

North Carolina is a state that requires yearly inspections of motor vehicles. An inspection checks for safety features (lights, brakes, tires,....) as well as checking vehicle emissions to ensure that vehicles meet air pollution standards. I recently had a car inspected and noticed a pie chart on the inspection's summary […] The post Improving the NC vehicle inspection pie chart appeared first on The DO Loop.

Read more »

No major hurricanes have hit the US coast recently. Lucky us!

May 14, 2015
By
No major hurricanes have hit the US coast recently. Lucky us!

Perhaps you saw the headlines earlier this week about the fact that it has been nine years since the last major hurricane (category 3, 4, or 5) hit the US coast. According to a post on the GeoSpace blog, which is published by the American Geophysical Union (AGU), researchers ran […] The post No major hurricanes have hit the US coast recently. Lucky us! appeared first on The DO Loop.

Read more »

Two-stage sampling of hierarchical data in SAS

May 13, 2015
By
Two-stage sampling of hierarchical data in SAS

I always learn something new when I attend SAS Global Forum, and it often results from an informal conversations in The Quad or in a hallway. Last week a SAS customer described a scenario that he wanted to implement as part of an analysis of some genetic data. To oversimplify […] The post Two-stage sampling of hierarchical data in SAS appeared first on The DO Loop.

Read more »

Finding observations that satisfy multiple conditions: The LOC-ELEMENT technique

May 11, 2015
By
Finding observations that satisfy multiple conditions: The LOC-ELEMENT technique

A common task in data analysis is to locate observations that satisfy multiple criteria. For example, you might want to locate all zip codes in certain counties within specified states. The SAS DATA step contains the powerful WHERE statement, which enables you to extract a subset of data that satisfy […] The post Finding observations that satisfy multiple conditions: The LOC-ELEMENT technique appeared first on The DO Loop.

Read more »

Matrix computations at SAS Global Forum 2015

May 6, 2015
By
Matrix computations at SAS Global Forum 2015

Last week I attended SAS Global Forum 2015 in Dallas. It was packed with almost 5,000 attendees. I learned many interesting things at the conference, including the fact that you need to arrive EARLY to the statistical presentations if you want to find an empty seat! It was gratifying to […] The post Matrix computations at SAS Global Forum 2015 appeared first on The DO Loop.

Read more »

An easy way to clear your SAS titles

May 4, 2015
By
An easy way to clear your SAS titles

Did you know that if you have set multiple titles in SAS, that there is an easy way to remove them? For example, suppose that you've written the following statements, which call the TITLE statement to set three titles: title "A Great Big Papa Title"; title2 "A Medium-sized Mama Title"; […] The post An easy way to clear your SAS titles appeared first on The DO Loop.

Read more »

Create and use a permutation matrix in SAS

April 29, 2015
By
Create and use a permutation matrix in SAS

Suppose that you compute the correlation matrix (call it R1) for a set of variables x1, x2, ..., x8. For some reason, you later want to compute the correlation matrix for the variables in a different order, maybe x2, x1, x7,..., x6. Do you need to go back to the […] The post Create and use a permutation matrix in SAS appeared first on The DO Loop.

Read more »

Create a cascade chart in SAS

April 27, 2015
By
Create a cascade chart in SAS

Sometimes different communities use the same name for different objects. To a soldier, "boots" are rugged, heavy, high-top foot coverings. To a soccer (football) player, "boots" are lightweight cleats. So it is with the term "waterfall plot." To researchers in the medical field, a "waterfall plot" is a sorted bar […] The post Create a cascade chart in SAS appeared first on The DO Loop.

Read more »


Subscribe

Email:

  Subscribe