Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: AW: AW: Graph


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: AW: Graph
Date   Tue, 2 Mar 2010 14:08:53 +0100

<> 


That -drop- in my code kills a nasty outlier, your situation may be
different :-)



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Martin Weiss
Gesendet: Dienstag, 2. März 2010 14:04
An: [email protected]
Betreff: st: AW: Graph


<> 



*************
sysuse nlsw88, clear
drop if age==46
table  age married , c(mean wage)
collapse (mean) wage, by(age married)
twoway (line wage age if married, sort) (line wage age if !married, sort)
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von
[email protected]
Gesendet: Dienstag, 2. März 2010 13:45
An: [email protected]
Cc: [email protected]; [email protected]
Betreff: st: Graph

Hi,

I'm sure there is an easy way to do this, but I can't find it. I hope 
somebody can help me: 

>>From a large dataset I have generated a twoway table of mean income by 
gender and age: 
table gender age, c(mean income). 

What is the simple (?) command that creates a graph that corresponds to 
this table, i.e. with two lines (one for each gender) showing trends in 
income over age. 

Thanks a lot! 


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


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index