Posts Tagged ‘ Just for Fun ’

Visualize Christmas songs

December 10, 2018
By
Visualize Christmas songs

The best way to spread Christmas cheer is singing loud for all to hear! -Buddy in Elf In the Christmas movie Elf (2003), Jovie (played by Zooey Deschanel) must "spread Christmas cheer" to help Santa. She chooses to sing "Santa Claus is coming to town," and soon all of New

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Visualize Christmas songs

How many perfect riffle shuffles are required to restore a deck to its initial order?

September 24, 2018
By
How many perfect riffle shuffles are required to restore a deck to its initial order?

Last week I compared the overhand shuffle to the riffle shuffle. I used random operations to simulate both kinds of shuffles and then compared how well they mix cards. The article caused one my colleague and fellow blogger, Rob Pratt, to ask if I was familiar with a bit of

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on How many perfect riffle shuffles are required to restore a deck to its initial order?

Offset regions: Find all points within a specified distance from a polygon

July 16, 2018
By
Offset regions: Find all points within a specified distance from a polygon

My colleague Robert Allison recently blogged about using the diameter of Texas as a unit of measurement. The largest distance across Texas is about 801 miles, so Robert wanted to find the set of all points such that the distance from the point to Texas is less than or equal

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Offset regions: Find all points within a specified distance from a polygon

Animate snowfall in SAS

December 14, 2016
By

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 Read more »

Tags: , ,
Posted in SAS | Comments Off on Animate snowfall in SAS

Create a Koch snowflake with SAS

December 10, 2016
By

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 Read more »

Tags: , ,
Posted in SAS | Comments Off on Create a Koch snowflake with SAS

Cantor sets, the devil’s staircase, and probability

July 5, 2016
By

Last week I blogged about how to draw the Cantor function in SAS. The Cantor function is used in mathematics as a pathological example of a function that is constant almost everywhere yet somehow manages to "climb upwards," thus earning the nickname "the devil's staircase." The Cantor function has three

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Cantor sets, the devil’s staircase, and probability

Visualize the Cantor function in SAS

June 29, 2016
By

I was a freshman in college the first time I saw the Cantor middle-thirds set and the related Cantor "Devil's staircase" function. (Shown at left.) These constructions expanded my mind and led me to study fractals, real analysis, topology, and other mathematical areas. The Cantor function and the Cantor middle-thirds

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Visualize the Cantor function in SAS

Lo, how a polar rose e’er blooming

December 16, 2015
By

Lo how a rose e'er blooming From tender stem hath sprung As I write this blog post, a radio station is playing Chrismas music. One of my favorite Christmas songs is the old German hymn that many of us know as "Lo, How a Rose E're Blooming." I was humming

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Lo, how a polar rose e’er blooming

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.