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

Re: st: 3D surface plot of joint density

From   Austin Nichols <[email protected]>
To   [email protected]
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<[email protected]> wrote:
> Nice graph!
> Tim
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of maurizio.pisati
> Sent: 03 September 2009 08:19
> To: [email protected]
> 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.


*   For searches and help try:

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