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

Re: st: Default range for 'kdensity'

From   Camelia Minoiu <[email protected]>
To   [email protected]
Subject   Re: st: Default range for 'kdensity'
Date   Tue, 26 Oct 2004 08:09:29 -0400 (EDT)

Thank you very much for your reply.


On Tue, 26 Oct 2004 [email protected] wrote:

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


 sysuse auto
 kdensity price , w(1000) gen(x fx)
 su price x


[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=
maximum observed value in the data; rather, it appears to be slightly
an interval. (I have been unable to find this information in the
documentation.) What is the exact rule which chooses the limits of
(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
BP48, L-4501 Differdange, Luxembourg << <<

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:

*   For searches and help try:

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