[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: updates to -tabplot- and -tableplot- on SSC
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-).
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
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).
* For searches and help try: