Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: Tabulating and graphing mean income for three groups over several years


From   Mosi Ifatunji <ifatunji@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Tabulating and graphing mean income for three groups over several years
Date   Thu, 25 Oct 2012 14:34:39 -0400

Thanks!

The specific command lines that you sent worked very well. I am also playing with -marginsplot-

My best,

-- Mosi


On Oct 25, 2012, at 2:26 PM, Nick Cox <njcoxstata@gmail.com> wrote:

Otherwise sounds like

collapse pinc, by(bethnic year)
separate pinc, by(bethnic)
line `r(varlist)' year

On Thu, Oct 25, 2012 at 6:48 PM, Nick Cox <njcoxstata@gmail.com> wrote:
> Have you looked at -marginsplot-?
> 
> Nick
> 
> On Thu, Oct 25, 2012 at 6:37 PM, Mosi Ifatunji <ifatunji@gmail.com> wrote:
> 
>> I have a problem that I think is a very simple one. I have three ethnic groups ('bethnic') and I would like to chart their marginal mean incomes ('pinc') over several years ('years'). I am basically looking to generate and table of this information and then also either a line or bar graph.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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