[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

From |
"Data Analytics Corp." <dataanalytics@earthlink.net> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Graphing Question |

Date |
Sun, 27 Jul 2008 13:44:52 -0400 |

Never could spell Michael Hanson wrote:

Hopefully you are providing them with more glitz (to the extent they demand it) and fewer glitches!

-- Mike

On Jul 26, 2008, at 4:19 PM, Data Analytics Corp. wrote:

Ditto on the 3D - but yet they love those also. The more the glitch, the better.

"Data Analytics Corp. Wrote:"@hsphsun2.harvard.edu wrote:

I agree - but this is what business clients like.Nod. I always wonder about that. The wretched 3D effect is the worst. jverkuilen wrote:I do have to ask the graph snob question: Why a pie chart? There are almost always better optons that are perceived more accurately by readers, use less space, etc.

-----Original Message-----

From: "Data Analytics Corp." <dataanalytics@earthlink.net>

To: statalist@hsphsun2.harvard.edu

Sent: 7/25/2008 8:59 AM

Subject: st: Graphing Question

Good morning,

I have, what should be, a simple graphing problem. I clustered doctors into four groups. I created a table showing the proportion of doctors in each group who use a certain drug with their patients. The proportions are simply the weighted means of a binary variable which indicates whether or not the drug is prescribed by that doctor. Now I want to draw a pie chart showing those proportions. I can easily draw a pie that displays proportions which are not weighted, but how do I tell Stata to draw the pie using the weighted means? In short, I want the table and pie slices to be identical so I can give my client both.

Incidentally, how do I get the pie slice labels to be outside the pie and have the percentages next to the slice label? It seems that everything goes inside the pie and we can either get labels or percentages, but not both.

Thanks,

Walt

________________________ Walter R. Paczkowski, Ph.D. Data Analytics Corp. 44 Hamilton Lane Plainsboro, NJ 08536 ________________________ (V) 609-936-8999 (F) 609-936-3733 dataanalytics@earthlink.net www.dataanalyticscorp.com-- Mike * * 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/

-- ________________________ Walter R. Paczkowski, Ph.D. Data Analytics Corp. 44 Hamilton Lane Plainsboro, NJ 08536 ________________________ (V) 609-936-8999 (F) 609-936-3733 dataanalytics@earthlink.net www.dataanalyticscorp.com * * 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/

**References**:**RE: st: Graphing Question***From:*jverkuilen <jverkuilen@gc.cuny.edu>

**Re: st: Graphing Question***From:*"Data Analytics Corp." <dataanalytics@earthlink.net>

**Re: st: Graphing Question***From:*Michael Hanson <mshanson@mac.com>

- Prev by Date:
**Re: st: Graphing Question** - Next by Date:
**st: Option for repeating graph command** - Previous by thread:
**Re: st: Graphing Question** - Next by thread:
**st: cragg-donal test for weak instruments with heteroskedasticity** - Index(es):

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