Blog Archives

Solve mixed integer linear programming problems in SAS

January 18, 2017
By
Solve mixed integer linear programming problems in SAS

This article shows how to solve mixed integer linear programming (MILP) problems in SAS. In a mixed integer problem, some of the variables in the problem are integer-valued whereas others are continuous. The objective function is a linear function of the variables and the variables can be subject to linear […] The post Solve mixed integer linear programming problems in SAS appeared first on The DO Loop.

Read more »

PUT it there! Six tips for using PUT and %PUT statements in SAS

January 16, 2017
By
PUT it there! Six tips for using PUT and %PUT statements in SAS

For SAS programmers, the PUT statement in the DATA step and the %PUT macro statement are useful statements that enable you to display the values of variables and macro variables, respectively. By default, the output appears in the SAS log. This article shares a few tips that help you to […] The post PUT it there! Six tips for using PUT and %PUT statements in SAS appeared first on The…

Read more »

Ten posts from 2016 that deserve a second look

January 11, 2017
By
Ten posts from 2016 that deserve a second look

Last week I wrote about the 10 most popular articles from The DO Loop in 2016. The popular articles tend to be about elementary topics that appeal to a wide range of SAS programmers. Today I present an "editor's choice" list of technical articles that describe more advanced statistical methods […] The post Ten posts from 2016 that deserve a second look appeared first on The DO Loop.

Read more »

ODS OUTPUT: Store any statistic created by any SAS procedure

January 9, 2017
By
ODS OUTPUT: Store any statistic created by any SAS procedure

In the beginning SAS created procedures and output. The output was formless and void. Then SAS said, "Let there be ODS," and there was ODS. Customers saw that ODS was good, and SAS separated the computation from the display and management of output. The preceding paragraph oversimplifies the SAS Output […] The post ODS OUTPUT: Store any statistic created by any SAS procedure appeared first on The DO Loop.

Read more »

Is "La Quinta" Spanish for "Next to Denny’s"?

January 6, 2017
By
Is "La Quinta" Spanish for "Next to Denny’s"?

“La Quinta” is Spanish for “next to Denny’s.”      -- Mitch Hedberg, comedian Mitch Hedberg's joke resonates with travelers who drive on the US interstate system because many highway exits feature both a La Quinta Inn™ and a Denny's® restaurant within a short distance of each other. But does a […] The post Is "La Quinta" Spanish for "Next to Denny's"? appeared first on The DO Loop.

Read more »

The top 10 posts from The DO Loop in 2016

January 4, 2017
By
The top 10 posts from The DO Loop in 2016

I wrote 105 posts for The DO Loop blog in 2016. My most popular articles were about data analysis, SAS programming tips, and elementary statistics. Without further ado, here are the most popular articles from 2016. Data Analysis and Visualization Start with a juicy set of data and an interesting […] The post The top 10 posts from The DO Loop in 2016 appeared first on The DO Loop.

Read more »

The contaminated normal distribution

December 28, 2016
By
The contaminated normal distribution

How can you generate data that contains outliers in a simulation study? The contaminated normal distribution is a simple but useful distribution you can use to simulate outliers. The distribution is easy to explain and understand, and it is also easy to implement in SAS. What is a contaminated normal […] The post The contaminated normal distribution appeared first on The DO Loop.

Read more »

Solve linear programming problems in SAS

December 19, 2016
By
Solve linear programming problems in SAS

In some applications, you need to optimize a linear objective function of many variables, subject to linear constraints. Solving this problem is called linear programming or linear optimization. This article shows two ways to solve linear programming problems in SAS: You can use the OPTMODEL procedure in SAS/OR software or […] The post Solve linear programming problems in SAS appeared first on The DO Loop.

Read more »

Animate snowfall in SAS

December 14, 2016
By
Animate snowfall in SAS

Out of the bosom of the Air,     Out of the cloud-folds of her garments shaken, Over the woodlands brown and bare,     Over the harvest-fields forsaken,         Silent, and soft, and slow         Descends the snow. "Snow-flakes" by Henry Wadsworth Longfellow Happy holidays to all my readers! In my last post I showed […] The post Animate snowfall in SAS appeared first on The DO Loop.

Read more »

Create a Koch snowflake with SAS

December 12, 2016
By
Create a Koch snowflake with SAS

I have a fondness for fractals. In previous articles, I've used SAS to create some of my favorite fractals, including a fractal Christmas tree and the "devil's staircase" (Cantor ) function. Because winter is almost here, I think it is time to construct the Koch snowflake fractal in SAS. A […] The post Create a Koch snowflake with SAS appeared first on The DO Loop.

Read more »


Subscribe

Email:

  Subscribe