Running SAS PROCs on your Facebook friends


Contributed by Kirsten Hamstra, SAS Social Media Manager

Prolific blogger and author of SAS for Dummies Chris Hemedinger knows maybe a little too much about his Facebook friends. Presenting his paper titled “Social Networking and SAS: Running PROCs on your Facebook Friends,” Chris shared basic techniques to analyze your friends using SAS and how to harvest your own data from Facebook. The paper was one of the first featured in the new "Social Media and Networking" section this year at SAS Global Forum.

So how does he do it? Chris developed a custom Facebook application that connects to your account and collects your “friends” as data and then turns them into a SAS program with DATALINES. Once the data is there, the sky's the limit with the kinds of interesting reports you can run.

Maybe you are interested in the median age of your Facebook friends, but realize that many don't disclose their actual birthdays (or are purposely vague). In that case, Chris suggests running a report on "ages informed by education history," as many divulge plenty of info about their alma mater and graduation year. Combine those two data sets together and voila - the application can make inferences about those mysterious ages - just be careful who you share your findings with!

"Social media sites generate tremendous data," says Chris. "Advanced analytical techiniques are within reach." If you're interested in applying some of Chris' techniques to your Facebook friends or want to download his custom application, visit his blog, The SAS Dummy for more information.

These code examples are provided as is, without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.


About Author

Waynette Tubbs

Editor, Marketing Editorial

Waynette Tubbs is a seasoned technology journalist specializing in interviewing and writing about how leaders leverage advanced and emerging analytical technologies to transform their B2B and B2C organizations. In her current role, she works closely with global marketing organizations to generate content about artificial intelligence (AI), generative AI, intelligent automation, cybersecurity, data management, and marketing automation. Waynette has a master’s degree in journalism and mass communications from UNC Chapel Hill.

Leave A Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to Top