Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: histogram, read axes


From   "Richard Boylan" <[email protected]>
To   [email protected]
Subject   Re: st: histogram, read axes
Date   Mon, 8 Dec 2008 11:49:18 -0600

Thank you so much. It is different from my original graphs, but it may
be better. I will have to play around with it.

On Mon, Dec 8, 2008 at 11:41 AM, Austin Nichols <[email protected]> wrote:
> How about this?
>
> cap ssc inst byhist
> sysuse auto
> egen g=group(for rep78), label
> byhist mpg, by(g) tw(scheme(s2mono) leg(col(1)))
> mat li r(b)
> la li g
>
> On Mon, Dec 8, 2008 at 12:21 PM, Richard Boylan <[email protected]> wrote:
>> Thanks. That does exactly what I asked for, but the command "byhist"
>> does not allow two options that I was using.
>>
>> First, I was using the option "by(var1 var2)" and byhist seem to only
>> allow "by(var1)."
>>
>> Second, I was using the option "scheme(s2mono)" which byhist does not allow.
>>
>> On Mon, Dec 8, 2008 at 11:06 AM, Austin Nichols <[email protected]> wrote:
>>> ssc inst byhist
>>> sysuse auto
>>> byhist mpg
>>> mat li r(b)
>>>
>>> On Mon, Dec 8, 2008 at 12:01 PM, Richard Boylan <[email protected]> wrote:
>>>> I was wondering if there are any easy way to read the histogram that
>>>> state created.
>>>>
>>>> Specially, I would to know exactly what bins were created and how many
>>>> observations are in each bin.
>>>>
>>>> After drawing the histogram, I thought I would be able to see this
>>>> information using some "return" type of command,
>>>> but clearly that does not seem to be the case. I looked at the manual
>>>> but did not see any such commands either.
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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