Pairs plots (section 5.1.17) are a useful way of displaying the pairwise relations between variables in a dataset. But the default display is unsatisfactory when the variables aren't all continuous. In this entry, we discuss ways to improve these dis...

Read more »

Tags: boxplot, generalized pairs plots, GGally package, ggplot2 package, grammar of graphics, Hadley Wickham, HELP data set, John Emerson, mosaic plot, pairs plots, scatterplot

Posted in SAS | Comments Off on Example 9.17: (much) better pairs plots

In a previous entry, as well as section 2.4.3 of the book, we describe how to carry out a 2 group permutation test in SAS as well as with the coin package in R. We demonstrate with comparing the ages of the female and male subjects in the HELP study.I...

Read more »

Tags: HELP data set, mosaic package, permutation test, resampling based inference, shuffle(), shuffle() function

Posted in SAS | Comments Off on Example 9.12: simpler ways to carry out permutation tests

In a previous entry, as well as section 2.4.3 of the book, we describe how to carry out a 2 group permutation test in SAS as well as with the coin package in R. We demonstrate with comparing the ages of the female and male subjects in the HELP study.I...

Read more »

Tags: HELP data set, mosaic package, permutation test, resampling based inference, shuffle(), shuffle() function

Posted in SAS | Comments Off on Example 9.12: simpler ways to carry out permutation tests

In a previous entry, as well as section 2.4.3 of the book, we describe how to carry out a 2 group permutation test in SAS as well as with the coin package in R. We demonstrate with comparing the ages of the female and male subjects in the HELP study.I...

Read more »

Tags: HELP data set, mosaic package, permutation test, resampling based inference, shuffle(), shuffle() function

Posted in SAS | Comments Off on Example 9.12: simpler ways to carry out permutation tests

We discuss recursive partitioning, a technique for classification and regression using a decision tree in section 6.7.3 of the book. Support for these methods is available within the rpart package. Torsten Hothorn and Achim Zeileis have extended the ...

Read more »

Tags: HELP data set, partykit package, recursive partitioning, regression trees, rpart package

Posted in SAS | Comments Off on Example 9.10: more regression trees and recursive partitioning with "partykit"

We discuss recursive partitioning, a technique for classification and regression using a decision tree in section 6.7.3 of the book. Support for these methods is available within the rpart package. Torsten Hothorn and Achim Zeileis have extended the ...

Read more »

Tags: HELP data set, partykit package, recursive partitioning, regression trees, rpart package

Posted in SAS | Comments Off on Example 9.10: more regression trees and recursive partitioning with "partykit"

We discuss recursive partitioning, a technique for classification and regression using a decision tree in section 6.7.3 of the book. Support for these methods is available within the rpart package. Torsten Hothorn and Achim Zeileis have extended the ...

Read more »

Tags: HELP data set, partykit package, recursive partitioning, regression trees, rpart package

Posted in SAS | Comments Off on Example 9.10: more regression trees and recursive partitioning with "partykit"

In recent entries (here, here, and here), we've been fitting a series of latent class models using SAS and R. One of the most commonly used and powerful software package for latent class model estimation is Mplus. This commercial software includes su...

Read more »

Tags: HELP data set, latent class models, Mplus, MplusAutomation package

Posted in SAS | Comments Off on Example 8.24: MplusAutomation and Mplus