Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: Graphing Frustrations


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: Graphing Frustrations
Date   Wed, 20 Aug 2003 00:40:20 +0100

Sorry, but I get a box plot for a replication
of these data. I'm using

. about

Stata/SE 8.1 for Windows
Born 01 Jul 2003
Copyright (C) 1985-2003

Nick
n.j.cox@durham.ac.uk

Benjamin Hulley
>
> - drinkalc - was in fact a poor example of my problem so I
> will use -
> oasm_agg - and I apologize for the mixing up graph and bar
> charts.  I
> am most interested in a box plot, though I have the same
> problem for
> bar graphs.  Here are the results of trying to produce a
> box plot of
> oasm_agg followed by a tabulation of the same variable.
> Again, using
> the precursor data sets I was successfully able to produce
> a box plot
> of oasm_agg (the only changes to oasm_agg between the two files are
> labeling its missing values and relabeling the variable itself)
>
> . graph box oasm_agg
> invalid syntax
> invalid syntax
> invalid syntax
> invalid syntax
> invalid syntax
> r(198);
>
> . tab oasm_agg
>
>         OASM |
>   aggression |
>        score |      Freq.     Percent        Cum.
> ------------+-----------------------------------
>            0 |        546       53.48       53.48
>            1 |         80        7.84       61.31
< snip >
>           45 |          1        0.10       99.90
>           49 |          1        0.10      100.00
> ------------+-----------------------------------
>        Total |      1,021      100.00
>

*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index