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 »

Does E85 fuel save you money or cost more?

March 22, 2016
By

I recently bought a vehicle that has FlexFuel capability and can use E85 (mostly ethanol) fuel. But can you guess whether it is more economical for me to use E85, or regular gasoline? Read the SAS analysis below to see if you guessed right! I've been the happy owner of

The post Read more »

SAS Author Spotlight: Art Carpenter

March 21, 2016
By

Did you know one of the attendees' favorite events at SAS Global Forum is to meet our bestselling authors? This year at SAS Global Forum 2016 we are planning a "Top Tips from Your Favorite SAS Press Authors" lunch where we will ask 3 or 4 authors to present a top tip

The post 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 Read more »

The road to SAS Global Forum: A training Q&A series

March 17, 2016
By

Many of us here at SAS are hustling to prepare for SAS Global Forum set to begin April 18 in Las Vegas. This year’s agenda is shaping up to be a “can’t-miss” event. Monday, before SAS Global Forum begins, there are two SAS Certification testing events. Then after the conference

The post Read more »

Simulate from the multinomial distribution in the SAS DATA step

March 16, 2016
By
Simulate from the multinomial distribution in the SAS DATA step

There are several ways to simulate multinomial data in SAS. In the SAS/IML matrix language, you can use the RANDMULTINOMIAL function to generate samples from the multinomial distribution. If you don't have a SAS/IML license, I have previously written about how to use the SAS DATA step or PROC SURVEYSELECT

The post Read more »

In case of error in SAS program, send email and stop

March 15, 2016
By

Any automated program should check for errors and unexpected conditions, such as inability to access a resource and presence of invalid values. Unlike traditional programming languages such as Python and C# that stop processing when an error occurs, SAS barrels ahead through the rest of the program. Therefore, carelessly-written SAS programs can create unwanted...
Read more »

Linking analytics outcomes to return on investment

March 15, 2016
By

In my SAS Press book Business Statistics Made Easy in SAS® I place a strong focus on the skill of extrapolating analytics/statistical outcomes to key business implications (similar techniques can be used to link statistics to other key societal outcomes). Unfortunately, business analytics often stops short of defining the impact

The post Read more »

How to graph NBA data with SAS

March 14, 2016
By

People have always been fascinated by sports statistics, and with the recent popularity of fantasy sports there is an increased demand for custom analyses of the sports data. With those folks in mind, I have created a simple example that SAS programmers can use as a starting point for analyzing NBA

The post Read more »

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



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.

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.