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

Re: st: 3D surface plot of joint density

From   Maarten buis <>
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 L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen


*   For searches and help try:

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