When you do kdensity X, STATA charts a kernel density fct of X's. Now,
is there a command that would allow me to take the density function thus
generated and chart a cumulative density (or distribution) function?
Ideally, I would like to do that for both densities, that is to go from
a overlay graph
twoway (kdensity X) (kdensity Y)
To a similar overlay graph of two cumulative density functions.
Or is the only way to use:
kdensity X, gen(aa bb)
And then generate a cumulative function of aa? By the way, I tried that
but the graph did not turn out well.
Thanks.
Branko Milanovic
IMPORTANTISSIMO:
You can start using my new (old) Email address:
[email protected]
Carnegie Endowment for International Peace
1779 Massachusetts Avenue NW
Washington DC 20036
Email: [email protected] or [email protected]
tel: 202-473-6968 (leave a message)
www.worldbank.org/research/inequality
http://econpapers.hhs.se/RAS/pmi44.htm
http://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=149002
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/