Bookmark and Share

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: RE: kernel density of values less than 1


From   philippe van kerm <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: RE: kernel density of values less than 1
Date   Tue, 13 Jul 2010 08:39:50 +0200

If the support of your variable is [0,1], then it is not surprising that your density function goes >1. Remember that the density function has to integrate to 1.

Philippe

 -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Katja Hillmann
> Sent: Monday, July 12, 2010 6:51 PM
> To: [email protected]
> Subject: st: kernel density of values less than 1
>
> Hello,
>
> I used the command kdensity in order to calculate the density of
> fractions (e.g. number of longterm unemployed on total unemployment).
> Thus I try to calculate the denisty of values less than 1. However, the
> values of the densities Stata provided are all greater than 1. Where is
> the problem? Does Stata have problems in calculating distributions of
> variables within an intervall of 0 and 1?
>
> Best,
> Katja
> *
> *   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/

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


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index