Dynamite plots are a somewhat pejorative term for a graphical display where the height of a bar indicates the mean, and the vertical line on top of it represents the standard deviation (or standard error). These displays are commonly found in many scie...

Read more »

Tags: barchart() function, confidence intervals, graphics, grid.polyline() function, grid.text() function, lattice library, mapply() function, mosaic package

Posted in SAS | Comments Off on Example 9.38: dynamite plots, revisited

While both SAS and R are powerful systems for statistical analysis, they can be frustrating to new users or those learning statistics for the first time. RThe mosaic package is designed to help simplify the interface for such new users, while allowing ...

Read more »

Tags: densityplot(), favstats(), lattice library, mean(), mosaic package, sd(), statistical education, summary()

Posted in SAS | Comments Off on Example 9.9: Simplifying R using the mosaic package (part 1)

While both SAS and R are powerful systems for statistical analysis, they can be frustrating to new users or those learning statistics for the first time. RThe mosaic package is designed to help simplify the interface for such new users, while allowing ...

Read more »

Tags: densityplot(), favstats(), lattice library, mean(), mosaic package, sd(), statistical education, summary()

Posted in SAS | Comments Off on Example 9.9: Simplifying R using the mosaic package (part 1)

While both SAS and R are powerful systems for statistical analysis, they can be frustrating to new users or those learning statistics for the first time. RThe mosaic package is designed to help simplify the interface for such new users, while allowing ...

Read more »

Tags: densityplot(), favstats(), lattice library, mean(), mosaic package, sd(), statistical education, summary()

Posted in SAS | Comments Off on Example 9.9: Simplifying R using the mosaic package (part 1)

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 on Example 8.40: Side-by-side histograms

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 on Example 8.40: Side-by-side histograms

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 on Example 8.40: Side-by-side histograms