Prior to embarking on any sophisticated analyses I invariably urge my students (and, frankly, colleagues as well) to take some time to get "underneath" and "a feel for" the data and how they distribute. For decades this typically included the standard suite of the related line, scatter-plot, box-plot, histograms, etc., commands.
While the original version has been around for a while, a user-written Stata command, stripplot, was recently updated. According to Nick Cox, "[t]he aim is to compare distributions and a variety of displays is possible, including linear and stacked dot and strip plots, with in conjunction box plots or confidence intervals." An example follows:
The example above includes a hybrid box and quantile plot, with the reference lines indicating medians. A more detailed description (with additional examples and coding) is found here.
Comments