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]
Re: st: new bivariate density estimation and graphics routine
From
Steve Samuels <[email protected]>
To
[email protected]
Subject
Re: st: new bivariate density estimation and graphics routine
Date
Thu, 27 Dec 2012 14:39:55 -0500
Oops, naturally you meant the "[]" to indicate that the scatter options were, indeed,
optional.
Steve
Thanks, John & Kit!
In the -help-, the quoted option "scatter[(scatter_options)]" appears to be incorrect.
e.g. in the auto data set:
. bidensity weight trunk, scatter[(mlabel(rep78))]
option [() not allowed
but omitting the square brackets works.
.bidensity weight trunk, scatter(mlabel(rep78))
Steve
On Dec 27, 2012, at 2:10 PM, Christopher Baum wrote:
. ssc desc bidensity
-----------------------------------------------------------------------------------------------------
package bidensity from http://fmwww.bc.edu/repec/bocode/b
-----------------------------------------------------------------------------------------------------
TITLE
'BIDENSITY': module to produce and graph bivariate density estimates
DESCRIPTION/AUTHOR(S)
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.
KW: density estimation
KW: bivariate density
KW: contourline plots
Requires: Stata version 12.1
Distribution-Date: 20121227
Author: John Luke Gallup, Portland State University
Support: email [email protected]
Author: Christopher F Baum, Boston College
Support: email [email protected]
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/