Posts Tagged ‘ data analysis ’

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

Nonparametric regression for binary response data in SAS

March 23, 2016
By
Nonparametric regression for binary response data in SAS

My previous blog post shows how to use PROC LOGISTIC and spline effects to predict the probability that an NBA player scores from various locations on a court. The LOGISTIC procedure fits parametric models, which means that the procedure estimates parameters for every explanatory effect in the model. Spline bases

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Nonparametric regression for binary response data in SAS

A statistical analysis of Stephen Curry’s shooting

March 21, 2016
By
A statistical analysis of Stephen Curry’s shooting

Last week Robert Allison showed how to download NBA data into SAS and create graphs such as the location where Stephen Curry took shots in the 2015-16 season to date. The graph at left shows the kind of graphs that Robert created. I've reversed the colors from Robert's version, so

The post Read more »

Tags: ,
Posted in SAS | Comments Off on A statistical analysis of Stephen Curry’s shooting

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.

Proc-x is looking for 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.