Statalist


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

Re: st: 3D surface plot of joint density


From   Sergiy Radyakin <[email protected]>
To   [email protected]
Subject   Re: st: 3D surface plot of joint density
Date   Wed, 2 Sep 2009 12:03:59 -0400

On Wed, Sep 2, 2009 at 11:33 AM, Forshee,
Richard<[email protected]> wrote:
> You might also consider a density plot instead of a 3D plot.  I have
> used the sunflower density plot, implemented in the -sunflower- command,
> for this kind of problem.

And if you want to represent density with color intensity, look at this page:
http://www.adeptanalytics.org/radyakin/stata/graphics/radyakin_graphics.htm
 Sergiy Radyakin

>
> HTH,
> --Rich
>
>
> Richard A. Forshee, Ph.D.
> Senior Risk Assessment Expert
> Office of Biostatistics & Epidemiology
> FDA - Center for Biologics Evaluation and Research
> 1401 Rockville Pike HFM-210
> Rockville, MD 20852
>
> Phone: (301) 827-6042
> Fax:     (301) 827-3529
> E-mail: [email protected]
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Maarten buis
> Sent: Wednesday, September 02, 2009 11:12 AM
> To: [email protected]
> Subject: Re: st: 3D surface plot of joint density
>
> --- On Wed, 2/9/09, Donna Gilleskie wrote:
>> I am trying to generate a graph of the joint
>> density of two variables (bmi and age).
>
> 3D graphics is not a strong point of Stata. One
> thing you could do is turn age into a
> categorical variable and use Nick Cox's
> -stripplot- to display the distribution of BMI
> for each age category in one graph. This may
> actually be more easy to interpret than a 3D
> density plot. You can install -stripplot- by
> typing in Stata -ssc install stripplot-.
>
> Hope this helps,
> Maarten
>
> --------------------------
> Maarten L. Buis
> Institut fuer Soziologie
> Universitaet Tuebingen
> Wilhelmstrasse 36
> 72074 Tuebingen
> Germany
>
> http://www.maartenbuis.nl
> --------------------------
>
>
>
>
> *
> *   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/
>
> *
> *   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/
>

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index