From inspection of the code (-adotype kdensity-), it looks as though the
default range is [(min(x)-h);(max(x)+h)]; i.e. from the min value of your
sample minus the bandwidth to the max value of your sample plus the
bandwidth.
Try
sysuse auto
kdensity price , w(1000) gen(x fx)
su price x
Philippe
[email protected] wrote: -----
Date: Mon, 25 Oct 2004 22:13:11 -0400
From: "Camelia Minoiu"
Subject: st: Default range for 'kdensity'
Dear All,
I have a short question about -kdensity-. What is the default
interval in
which the points of estimation are chosen? It does not appear to be
[min,max] where min=the minimum observed value in the data, and max=
the
maximum observed value in the data; rather, it appears to be slightly
larger
an interval. (I have been unable to find this information in the
documentation.) What is the exact rule which chooses the limits of
this
(default) range?
Thank you for your support.
Camelia Minoiu
Ph.D. Student
Dept. of Economics
Columbia University
<<<>>><<<>>><<<>>><<<>>><<<>>><<<>>><<<>>><<<>>><<<>>>
Dr. Philippe Van Kerm
IRISS - Integrated Research Infrastructure in the
Socio-Economic Sciences
CEPS/INSTEAD
BP48, L-4501 Differdange, Luxembourg
http://www.ceps.lu/iriss <<
http://econpapers.hhs.se/RAS/pva19.htm <<
<<<>>><<<>>><<<>>><<<>>><<<>>><<<>>><<<>>><<<>>><<<>>>
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept for the presence of computer viruses.
**********************************************************************
*
* 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/