Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: Re: statalist-digest V4 #3783

From   "Nick Cox" <>
To   <>
Subject   st: RE: Re: statalist-digest V4 #3783
Date   Mon, 12 Jul 2010 17:55:53 +0100

There is no problem except one of understanding. A density is not a
probability and so may easily exceed 1. 

Consider x that is uniform on [0, 0.5]. The density must integrate to 1
over this interval and clearly must also be constant. No calculus is
needed in this example as 

area under density function = 1 = Constant density of ? * length of
support of 0.5. 

which can be solved to get a density of 2. 


Katja Hillmann

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?

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index