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]

st: merging two kernel density graphs into one


From   Wies Kestens <wies.kestens@student.kuleuven.be>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: merging two kernel density graphs into one
Date   Mon, 24 Oct 2011 11:27:44 +0000

My problem concerns the merge of different graphs in stata.
Each graph is made using the -kdensity- command and then saved.
For example:
kdensity algeria
save graph algeria
kdensity albania
save graph albania

The y-axis of these graphs shows the population density and the x-axis shows the income.
I would like to merge those two graphs into one graph which would then 
give the combined population density on the Y-axis and the income on the
 x-axis.
For example:
when 50% of the people in Albania en 100% of the people in Algeria would
 earn 100$, the combined graph would state that 75% of the people earn 
100$, given they both have the same population.

No command I know of/could find information about is able to do this it seems.

Can someone point me in the right direction?

Regards,

Wies Kestens
Student Economics
Catholic University of Leuven
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index