Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Venn diagram


From   Thomas Trikalinos (.Mac) <[email protected]>
To   [email protected]
Subject   Re: st: Venn diagram
Date   Wed, 5 May 2004 10:20:27 +0300

Friedrich and James,

. sysuse auto
. venndiag rep78 foreign

produces a short-lived graph in my computer that vanishes as soon as it is drawn. This does not happen with the 1st version of the venndiag.ado file, which works OK; It happens only with the last version (stb54 , gr34.3).
I'm running a fully updated Intercooled STATA 8.2 on a PowerBook G4 laptop (Panther).

Tom


On May 5, 2004, at 2:02, Friedrich Huebler wrote:


James,

Which version of Stata do you use? Is it up to date (you can check
with the command -update query-)? Try the commands below, which work
in Stata 8.2.

. sysuse auto
. venndiag rep78 foreign

Friedrich Huebler

--- James Xiao <[email protected]> wrote:
Dear listers,

I'm trying to use venndiag ado-files to draw a two variable venn
diagram. The following is the result I got, but no graph pop out.

. venndiag currsmk obesity

______________________________________________________________________
Venn diagram of variables: currsmk obesity
File: H:\My Documents\NHIS\2002 NHIS\dataset\samadult.dta ( 4 May
2004 )

     Outcome    Variable and label
A:       1           currsmk    currsmk
B:       1           obesity    obesity

    31044   Records in file
      330   Records excluded by missing values
    _____
    30714   Records in Diagram:
Counts for combined variables:

----------------------------------------------------------------------
A      |   5298   17 %  (currsmk == 1)& (obesity != 1)
B      |   6843   22 %  (currsmk != 1)& (obesity == 1)
AB     |   1621    5 %  (currsmk == 1)& (obesity == 1)
--     |  16952   55 %  (currsmk != 1)& (obesity != 1)

----------------------------------------------------------------------

______________________________________________________________________
file C:\DOCUME~1\jxiao\LOCALS~1\Temp\ST_03000016.tmp saved
obs was 0, now 1001
file C:\DOCUME~1\jxiao\LOCALS~1\Temp\ST_03000017.tmp saved
obs was 0, now 1001

Did anybody use this ado-file before? I just got it from stata
update.
Any suggestions are highly appreicated!!!

James Xiao

	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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