Posts Tagged ‘ Data Analysis ’

What happened when I was forced to wait 30 minutes for the subway

July 18, 2016
By

What happened when I was forced to wait 30 minutes for the subway: pondering how easy it is for data analysts to get fooled by bad data

Read more »

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 How much do New Yorkers tip taxi drivers? appeared first on The DO Loop.

Read more »

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 Visualize missing data in SAS appeared first on The DO Loop.

Read more »

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 Examine patterns of missing data in SAS appeared first on The DO Loop.

Read more »

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 The WHERE clause in SAS/IML appeared first on The DO Loop.

Read more »

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 Save descriptive statistics for multiple variables in a SAS data set appeared first on The DO Loop.

Read more »

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 High school rankings of top NCAA wrestlers appeared first on The DO Loop.

Read more »

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 Nonparametric regression for binary response data in SAS appeared first on The DO Loop.

Read more »

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 A statistical analysis of Stephen Curry's shooting appeared first on The DO Loop.

Read more »

How to use COLLECTION effects to specify pairwise interactions in SAS

March 7, 2016
By
How to use COLLECTION effects to specify pairwise interactions in SAS

Most SAS regression procedures support the "stars and bars" operators, which enable you to create models that include main effects and all higher-order interaction effects. You can also easily create models that include all n-way interactions up to a specified value of n. However, it can be a challenge to […] The post How to use COLLECTION effects to specify pairwise interactions in SAS appeared first on The DO Loop.

Read more »


Subscribe

Email:

  Subscribe