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: merging two kernel density graphs into one
From
Wies Kestens <[email protected]>
To
"[email protected]" <[email protected]>
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/