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, statalist.org is already up and running.


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

Re: st: new bivariate density estimation and graphics routine


From   Steve Samuels <sjsamuels@gmail.com>
To   statalist@hsphsun2.harvard.edu
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 jlgallup@pdx.edu

    Author: Christopher F Baum, Boston College
    Support: email baum@bc.edu



*
*   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/


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