Statalist


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

Re: st: 3D surface plot of joint density


From   Austin Nichols <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: 3D surface plot of joint density
Date   Fri, 4 Sep 2009 14:27:40 -0400

Folks interested in surface plots of density--
Try also as a first cut:

ssc inst tddens
sysuse auto, clear
tddens mpg price, s

I can add more options if people find this useful...

On Thu, Sep 3, 2009 at 9:41 AM, Mak,
Timothy<timothy.mak07@imperial.ac.uk> wrote:
> Nice graph!
>
> Tim
>
> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of maurizio.pisati
> Sent: 03 September 2009 08:19
> To: statalist@hsphsun2.harvard.edu
> Subject: Re: st: 3D surface plot of joint density
>
> In Stata, you can draw 2D surface plots using a
> combination of  user-written programs. Here's an example
> taken from the help file of the  user-written program
> -spkde-, available from the Boston SSC Archive:
>
>
> -spkde- can be used also for estimating the joint
> probability density  function of any pair of quantitative
> variables (for an alternative, see  Stata program
> -kdens2-, written by Christopher F. Baum and available
>  from the Boston SSC Archive). The user-written program
> -spmap-  (available from the Boston SSC Archive) can then
> be used to draw the  corresponding 2D density plot. To
> this purpose, it is advised to make  use of -mylabels-, a
> Stata program written by Nicholas J. Cox and  available
> from the Boston SSC Archive.

<snip>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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