SPIKEPLT: Stata module to generate spike plot showing fine structure of the data
Nicholas J. Cox
spikeplt produces a spike plot, histogram or rootogram for varname that will show some of the fine structure of the data. varname is plotted on the x-axis. The frequency of each value, after any rounding, and applying any weight, is shown by a vertical spike drawn from a reference level (by default 0). If used to produce histograms, the default is to show raw frequencies in each bin or interval. In contrast to 'graph, histogram', there is no restriction to a maximum of 50 bins, and a few hundred spikes may be tolerable, especially if there are interesting gaps, clusters or preferred values. Berry uses the name `spike chart' for this kind of histogram. If used to produce time series plots, the varname would be the time variable, and the weight variable would be the values for those times. Chapman and Mahon used the name `spike graph' for such a plot.This is version 1.6.2 of the software.
graphics, spike plots, histograms, rootograms, time series, frequency distributions
In order to set up a list of libraries that you have access to,
you must first login
or sign up.
Then set up a personal list of libraries from your profile page by
clicking on your user name at the top right of any screen.