Statalist


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

Re: st: 3D surface plot of joint density


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: 3D surface plot of joint density
Date   Wed, 2 Sep 2009 15:11:30 +0000 (GMT)

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



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