Thanks to Kit Baum, an update to the -kdens- package is available from
the SSC archive. -kdens- is used for kernel density estimation.
To install the update, type
. ssc install kdens, replace
or use the -adoupdate- command. The newest version of -moremata-
is required. Type
. ssc install moremata, replace
Main changes:
o -kdens- is now also a -twoway- plottype. That is, you can type, e.g.
. twoway kdens var1 || kdens var2
o -kdens- has a new -histogram- option to add a histogram to the density plot.
o -kdens- has a new -range- option to set the data range over which
the density be estimated.
o -kdens- has a new -exact- option to compute exact kernel density
estimates. The default is to use the binned approximation estimator.
o -kdens- now applies a penalty for pweights in automatic bandwidth estimation.
ben
*
* 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/