BIDENSITY: Stata module to produce and graph bivariate density estimates
bidensity produces bivariate kernel density estimates and graphs the result using a twoway contourline plot, optionally overlaying a scatterplot. The default kernel is Epanechnikov; all of the kernels provided by -kdensity- are also available. Compared to Baum's -kdens2- (SSC), which was recently enhanced to produce contourline plots, -bidensity- computes the bivariate kernel densities much more efficiently through use of Mata, and provides a choice of kernel estimators. The estimated densities can be saved in a Stata dataset or accessed as Mata matrices.
|Requires:||Stata version 12.1 and moremata from SSC (q.v.)|
|Date of creation:||27 Dec 2012|
|Date of revision:||19 Jan 2013|
|Note:||This module should be installed from within Stata by typing "ssc install bidensity". Windows users should not attempt to download these files with a web browser.|
|Contact details of provider:|| Postal: |
Web page: http://fmwww.bc.edu/EC/
More information through EDIRC
|Order Information:||Web: http://repec.org/docs/ssc.php|
When requesting a correction, please mention this item's handle: RePEc:boc:bocode:s457576. See general information about how to correct material in RePEc.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F Baum)
If references are entirely missing, you can add them using this form.