Subgroup Comparison

Measures the consistency of subgroup membership

You are now following this Submission

This function can be applied in a situation where samples are assigned a probability of belonging to one of several subgroups.

If multiple such probability assignments have been generated you may wish to compare the consistency of each assignment. That is, are the same samples always assigned to the same subgroup?

There are two functions. The first SgComp generates five outputs to quantify this consistency. The second, SgCompPlot plots the results of the first function to aid visualisation.

More detailed background information can be found in the .pdf file.

Please email me with questions or feedback.

Cite As

James Barrett (2026). Subgroup Comparison (https://uk.mathworks.com/matlabcentral/fileexchange/46044-subgroup-comparison), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0