SAS

Yes – Wednesday is M&M day at SAS!

December 6, 2017
By

Some people might think it's an urban legend that SAS gives its employees free M&M's. Well, I'm here to tell you it's true! Every Wednesday at the Cary headquarters, a bucket of M&M's shows up in each of the break rooms. I'm only half-kidding i...
Read more »

Tags:
Posted in SAS | Comments Off on Yes – Wednesday is M&M day at SAS!

3 problems with mean imputation

December 6, 2017
By
3 problems with mean imputation

In a previous article, I showed how to use SAS to perform mean imputation. However, there are three problems with using mean-imputed variables in statistical analyses: Mean imputation reduces the variance of the imputed variables. Mean imputation shrinks standard errors, which invalidates most hypothesis tests and the calculation of confidence

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on 3 problems with mean imputation

Jedi SAS Tricks: Pattern Search in DS2

December 5, 2017
By

Finding a pattern like a phone number or national ID number embedded in text can be difficult and time consuming. The traditional DATA step has a family of functions (collectively referred to as PRX functions) that allow using Perl regular expressions ...
Read more »

Tags: , , ,
Posted in SAS | Comments Off on Jedi SAS Tricks: Pattern Search in DS2

What fuel is 1000 times dirtier than diesel?

December 5, 2017
By

I recently read an interesting article about petroleum coke (petcoke). A lot of it is produced in the US, and lately a lot of it is consumed (burned) in India ... contributing to air pollution there. The article mentioned some numbers in the text, but ...
Read more »

Tags: , , ,
Posted in SAS | Comments Off on What fuel is 1000 times dirtier than diesel?

How to scrape data from a web page using SAS

December 4, 2017
By
How to scrape data from a web page using SAS

The internet is rich with data, and much of that data seems to exist only on web pages, which -- for some crazy reason -- are designed for humans to read. When students/researchers want to apply data science techniques to analyze collect and analyze that data, they often turn to

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on How to scrape data from a web page using SAS

Mean imputation in SAS

December 4, 2017
By
Mean imputation in SAS

Imputing missing data is the act of replacing missing data by nonmissing values. Mean imputation replaces missing data in a numerical variable by the mean value of the nonmissing values. This article shows how to perform mean imputation in SAS. It also presents three statistical drawbacks of mean imputation. How

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Mean imputation in SAS

Let’s analyze Trump’s tweets

November 30, 2017
By

Since Trump because the US president, many people have noticed that he posts a lot of tweets. While some people choose to analyze and critique the content of those tweets, I was more curious about something a little less controversial - the timing and quantity. Follow along as I dig into

The post Read more »

Tags: , , , ,
Posted in SAS | Comments Off on Let’s analyze Trump’s tweets

When and where have they legalized ‘it’?

November 29, 2017
By

Whether or not to legalize marijuana is a hotly debated topic these days. And no matter which side of the debate you're on, I think you will be interested in seeing several ways to visualize which states have legalized marijuana, and when ... Their Version Here's the original graph that

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on When and where have they legalized ‘it’?

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.