Thank you very much Nick. The catplot and tabplot commands very just
what I was looking for.
On Tue, May 27, 2008 at 4:10 PM, n j cox <[email protected]> wrote:
> This may look like the obvious answer, but I don't think it is what is best
> here.
>
> I guess P�l wants to see bar graphs of category frequencies or percents for
> one-, two- or three-way tables.
>
> You can get useful results with a trick
>
> gen frequency = 1
> graph bar (sum) frequency, over(frog) over(toad)
>
> once we recall that counting is adding 1s as many times as is needed.
>
> But it is a small pain to extend this even to simple percent calculations.
> So, as a convenience, there are various user-written programs, of which
> -catplot-, -tabplot- and -spineplot- spring to mind.
>
> -search- using these program names for program locations and documentation,
> including various pieces in the Stata Journal from 2004 and 2008.
>
> Nick
> [email protected]
>
> Maarten Buis
>
> --- P�l R�nning <[email protected]> wrote:
>> What is the easiest way of creating bar graphs of categorical data
>> containing several categories? Sofar I havent found an option to
>> graph after a tab command-does one exist?
>
> -help graph bar-
>
> *
> * 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/
>
--
P�l R�nning
Sk�yenvn 93
0375 Oslo
40882465
nevrokirurgisk avd
Ullev�l Universitetessykehus
0407 Oslo
23015389
*
* 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/