Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: kernel density graphs (different x-axis)


From   "Joao Pedro W. de Azevedo" <jazevedo@provide.com.br>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: kernel density graphs (different x-axis)
Date   Mon, 7 Apr 2003 08:55:32 +0100

why are several messages being reposted?????


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of Joao Pedro W.
de Azevedo
Sent: Thursday, April 03, 2003 1:55 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: kernel density graphs (different x-axis)


Dear Statausers,
I'm using STATA8 and I would like to compare two kernel density estimates.
I've followed the manual example, with no difficulty.
I'm now trying to compare the age density of two populations (in different
datasets), the problem is that the x-axis variable generated by the kdensity
command is not the same, in one population it varies from 13.64889 to
34.35111 and on the other it goes from 14.74676 to 66.25324. I would like to
know if anyone could give me a suggestion on how to transform both densities
on the same scale, or any other procedure, which would them allow me to
overlay them correctly using the scatter command.
Many thanks,
Joao Pedro/




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



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



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