Thanks to Kit Baum, the -tabplot- and -tableplot-
packages on SSC have been updated.
The main purpose of these programs is to display twoway
tables as arrays of bars with heights proportional to the
values of cell frequencies or percents (-tabplot-) or
of a third variable (-tableplot-).
Thus
tabplot foreign rep78
gives you a graphical display of the frequencies of the
combinations of -foreign- and -rep78-, and
egen meanprice = mean(price), by(foreign rep78)
label var meanprice "mean price, USD"
tableplot meanprice foreign rep78
gives a graphical display of mean price for each
such combination.
The updating gives support to a -showval- option
which adds the numbers to the display by each bar,
thus enhancing the hybrid character of a tabular graph
or a graphical table.
In at least some circumstances, the displays can be
friendlier than arrays of stacked (divided) bars.
There was some discussion of these programs in Stata
Journal 4(2) (2004).
Nick
[email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/