Posts Tagged ‘ data analysis ’

Formats for p-values and odds ratios in SAS

August 15, 2016
By
Formats for p-values and odds ratios in SAS

Last week I showed some features of SAS formats, including the fact that you can use formats to bin a continuous variable without creating a new variable in the DATA step. During the discussion I mentioned that it can be confusing to look at the output of a formatted variable

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Formats for p-values and odds ratios in SAS

Compute highest density regions in SAS

August 1, 2016
By
Compute highest density regions in SAS

In a scatter plot, the regions where observations are packed tightly are areas of high density. A contour plot or heat map of a bivariate kernel density estimate (KDE) is one way to visualize regions of high density. A SAS customer asked whether it is possible to use SAS to

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Compute highest density regions in SAS

How much do New Yorkers tip taxi drivers?

May 2, 2016
By
How much do New Yorkers tip taxi drivers?

When I read Robert Allison's article about the cost of a taxi ride in New York City, I was struck by the scatter plot (shown at right; click to enlarge) that plots the tip amount against the total bill for 12 million taxi rides. The graph clearly reveals diagonal and

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on How much do New Yorkers tip taxi drivers?

Visualize missing data in SAS

April 20, 2016
By
Visualize missing data in SAS

You can visualize missing data. It sounds like an oxymoron, but it is true. How can you draw graphs of something that is missing? In a previous article, I showed how you can use PROC MI in SAS/STAT software to create a table that shows patterns of missing data in

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Visualize missing data in SAS

Examine patterns of missing data in SAS

April 18, 2016
By
Examine patterns of missing data in SAS

Missing data can be informative. Sometimes missing values in one variable are related to missing values in another variable. Other times missing values in one variable are independent of missing values in other variables. As part of the exploratory phase of data analysis, you should investigate whether there are patterns

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Examine patterns of missing data in SAS

The WHERE clause in SAS/IML

April 4, 2016
By
The WHERE clause in SAS/IML

In SAS procedures, the WHERE clause is a useful way to filter observations so that the procedure receives only a subset of the data to analyze. The IML procedure supports the WHERE clause in two separate statements. On the USE statement, the WHERE clause acts as a global filter. The

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on The WHERE clause in SAS/IML

Save descriptive statistics for multiple variables in a SAS data set

March 28, 2016
By
Save descriptive statistics for multiple variables in a SAS data set

Descriptive univariate statistics are the foundation of data analysis. Before you create a statistical model for new data, you should examine descriptive univariate statistics such as the mean, standard deviation, quantiles, and the number of nonmissing observations. In SAS, there is an easy way to create a data set that

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Save descriptive statistics for multiple variables in a SAS data set

High school rankings of top NCAA wrestlers

March 25, 2016
By
High school rankings of top NCAA wrestlers

Last weekend was the 2016 NCAA Division I wrestling tournament. In collegiate wrestling there are ten weight classes. The top eight wrestlers in each weight class are awarded the title "All-American" to acknowledge that they are the best wrestlers in the country. I saw a blog post on the InterMat

The post Read more »

Tags: ,
Posted in SAS | Comments Off on High school rankings of top NCAA wrestlers

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.