The newly-released subsetplot command produces an array of scatter or other twoway plots for sub-groups of data. As Nick Cox observes (here): "We all know that if you want to compare relationships graphically between groups of observations, we can superimpose different groups in a single plot, or juxtapose different groups in several plots. This [the subsetplot command] is a hybrid approach combining elements of those two strategies."
To illustrate, consider the following plot of auto weight by MPG:The subsetplot command plots these same data across a selected sub-grouping's outcomes (below, by auto repair record groupings (1-5)):
For those interested, to download the [Stata] command type:
ssc install subsetplot
Comments