There is no constraint on the magnitude of probability density values, though the area under the curve must be equal to one. You may be thinking of cumulative probability distributions? If so, take a look at smoothed.df() in library (cwhmisc).
"Katja Hillmann" <katja.hillm...@wiso.uni-hamburg.de> wrote: >Hello, > >I used the command kdensity in order to calculate the density of >fractions/ratios (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 kernel densitiy R provided (y-scale) are >all greater than 1. Where is the problem and how may I solve it? Does R >have problems in calculating distributions of variables within an >intervall of 0 and 1? > >Best, >Katja > >______________________________________________ >R-help@r-project.org mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code. --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnew...@dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.