Posts Tagged ‘ data analysis ’

An easy way to make a “Top 10” table and bar chart in SAS

June 4, 2018
By
An easy way to make a “Top 10” table and bar chart in SAS

Years ago, I wrote an article about how to create a Top 10 table and bar chart. The program can be trivially modified to create a "Top N" table and plot, such as Top 5, Top 20, or even Top 100. Not long after the article was written, the developer

The post Read more »

Tags: ,
Posted in SAS | Comments Off on An easy way to make a “Top 10” table and bar chart in SAS

Use a fringe plot to visualize binary data in logistic models

May 31, 2018
By
Use a fringe plot to visualize binary data in logistic models

A previous article showed how to use a calibration plot to visualize the goodness-of-fit for a logistic regression model. It is common to overlay a scatter plot of the binary response on a predicted probability plot (below, left) and on a calibration plot (below, right): The SAS program that creates

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Use a fringe plot to visualize binary data in logistic models

Decile calibration plots in SAS

May 16, 2018
By
Decile calibration plots in SAS

In my article about how to construct calibration plots for logistic regression models in SAS, I mentioned that there are several popular variations of the calibration plot. The previous article showed how to construct a loess-based calibration curve. Austin and Steyerberg (2013) recommend the loess-based curve on the basis of

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Decile calibration plots in SAS

Calibration plots in SAS

May 14, 2018
By
Calibration plots in SAS

A logistic regression model is a way to predict the probability of a binary response based on values of explanatory variables. It is important to be able to assess the accuracy of a predictive model. This article shows how to construct a calibration plot in SAS. A calibration plot is

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Calibration plots in SAS

Order variables in a heat map or scatter plot matrix

May 2, 2018
By
Order variables in a heat map or scatter plot matrix

Order matters. When you create a graph that has a categorical axis (such as a bar chart), it is important to consider the order in which the categories appear. Most software defaults to alphabetical order, which typically gives no insight into how the categories relate to each other. Alphabetical order

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Order variables in a heat map or scatter plot matrix

Assign colors in heat maps: A study of married couples and college majors

April 30, 2018
By
Assign colors in heat maps: A study of married couples and college majors

Some say that opposites attract. Others say that birds of a feather flock together. Which is it? Phillip N. Cohen, a professor of sociology at the University of Maryland, recently posted an interesting visualization that indicates that married couples who are college graduates tend to be birds of a feather.

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Assign colors in heat maps: A study of married couples and college majors

An easier way to run thousands of regressions

April 25, 2018
By
An easier way to run thousands of regressions

SAS programmers on SAS discussion forums sometimes ask how to run thousands of regressions of the form Y = B0 + B1*X_i, where i=1,2,.... A similar question asks how to solve thousands of regressions of the form Y_i = B0 + B1*X for thousands of response variables. I have previously

The post Read more »

Tags: ,
Posted in SAS | Comments Off on An easier way to run thousands of regressions

The 80-20 rule for blogs

April 23, 2018
By
The 80-20 rule for blogs

You've probably heard about the "80-20 Rule," which describes many natural and manmade phenomena. This rule is sometimes called the "Pareto Principle" because it was discovered by Vilfredo Pareto (1848–1923) who used it to describe the unequal distribution of wealth. Specifically, in his study, 80% of the wealth was held

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on The 80-20 rule for blogs

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.