Multiple Response Subgroup Identification using GUIDE algorithm.

The current package is still under heavily development.

For subgroup identification use GUIDE algorithm.

Here are the links and paper for reference:

Loh, W.-Y. and Zhou, P. (2020), The GUIDE approach to subgroup identification. In Design and Analysis of Subgroups with Biopharmaceutical Applications, N. Ting, J. C. Cappelleri, S. Ho, and D.-G. Chen (Eds.) Springer, in press.

Loh, W.-Y., Cao, L. and Zhou, P. (2019), Subgroup identification for precision medicine: a comparative review of thirteen methods, Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery, vol. 9, 5, e1326. DOI

Loh, W.-Y., Man, M. and Wang, S. (2019), Subgroups from regression trees with adjustment for prognostic effects and po3st-selection inference, Statistics in Medicine, vol. 38, 545-557. DOI

Loh, W.-Y., Fu, H., Man, M., Champion, V. and Yu, M. (2016), Identification of subgroups with differential treatment effects for longitudinal and multiresponse variables, Statistics in Medicine, vol. 35, 4837-4855. DOI


R packages:

Package install



Please refer to the following link if you have problem with install the package from source.

  1. R Compiler Tools for Rcpp on macOS
  2. Rcpp FAQ section 2.10

Here are my personal set up for macOS building MrSGUIDE used homebrew for libomp

brew update
brew install llvm libomp gcc

In the ~/.R/Makevars file


FLIBS=-L/usr/local/Cellar/gcc/8.2.0 -L/usr/local/Cellar/gcc/8.2.0/lib/gcc/8 -lgfortran -lquadmath -lm