Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: scatter plot with multiple x-labels
From
Shehzad Ali <[email protected]>
To
Stata List <[email protected]>
Subject
st: scatter plot with multiple x-labels
Date
Wed, 23 May 2012 15:37:38 +0100 (BST)
Dear listers,
I have patient outcome scores on ten occasions, and patients are nested within health providers. I would like to show this in a scatter plot with scores on the y-axis and patient id on the x-axis, which is easy to do. However, I want to show that patients are nested within therapists. One potential approach is to sort the x-axis of the scatter plot by providers and patients within providers and add a second x-label under patient_id to represent therapists (to show nesting). I am wondering if anyone can suggest how to do this in Stata or use a different approach to represent the heterogeneity in a 3-level data structure (occasions nested in patients, and patients nested in providers).
Many thanks
Shehzad
*
* 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/