Back in example 8.41 we showed how to make a graphic combining a scatterplot with histograms of each variable. A commenter suggested we change the R graphic to allow post-hoc plotting of, for example, lowess lines. In addition, there are further refi...
Read more »
Tags: histogram, layout(), layout.show(), par(), scatterplot
Posted in SAS | Comments Off
The scatterplot is one of the most ubiquitous, and useful graphics. It's also very basic. One of its shortcomings is that it can hide important aspects of the marginal distributions of the two variables. To address this weakness, you can add a histo...
Read more »
Tags: barplot(), histogram, layout(), mtext(), par(), proc sgrender, proc template, scatterplot, with()
Posted in SAS | Comments Off
The scatterplot is one of the most ubiquitous, and useful graphics. It's also very basic. One of its shortcomings is that it can hide important aspects of the marginal distributions of the two variables. To address this weakness, you can add a histo...
Read more »
Tags: barplot(), histogram, layout(), mtext(), par(), proc sgrender, proc template, scatterplot, with()
Posted in SAS | Comments Off
The scatterplot is one of the most ubiquitous, and useful graphics. It's also very basic. One of its shortcomings is that it can hide important aspects of the marginal distributions of the two variables. To address this weakness, you can add a histo...
Read more »
Tags: barplot(), histogram, layout(), mtext(), par(), proc sgrender, proc template, scatterplot, with()
Posted in SAS | Comments Off
It's often useful to compare histograms for some key variable, stratified by levels of some other variable. There are several ways to display something like this. The simplest may be to plot the two histograms in separate panels.SASIn SAS, the most d...
Read more »
Tags: histogram, ifelse(), lattice library, panelby statement, proc sgpanel, side by side histograms
Posted in SAS | Comments Off
It's often useful to compare histograms for some key variable, stratified by levels of some other variable. There are several ways to display something like this. The simplest may be to plot the two histograms in separate panels.SASIn SAS, the most d...
Read more »
Tags: histogram, ifelse(), lattice library, panelby statement, proc sgpanel, side by side histograms
Posted in SAS | Comments Off
It's often useful to compare histograms for some key variable, stratified by levels of some other variable. There are several ways to display something like this. The simplest may be to plot the two histograms in separate panels.SASIn SAS, the most d...
Read more »
Tags: histogram, ifelse(), lattice library, panelby statement, proc sgpanel, side by side histograms
Posted in SAS | Comments Off
Pyramid plots are a common way to display the distribution of age groups in a human population. The percentages of people within a given age category are arranged in a barplot, often back to back. Such displays can be used distinguish males vs. femal...
Read more »
Tags: age distribution, axis control, back-to-back barplots, barplots(back to back), cut function, graphics, HELP data set, histogram, make categories, population age, pyramid plots
Posted in SAS | Comments Off