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

st: RE: frequency polygon


From   Lee Sieswerda <Lee.Sieswerda@tbdhu.com>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: frequency polygon
Date   Wed, 20 Aug 2003 17:03:00 -0400

Something like this will get you started:

sysuse auto
table rep78, replace
twoway line table1 rep78

If you want to show the "histogram" as well you can add an overlay (or
underlay in this case)

twoway bar table1 rep78 || line table1 rep78

If you data are continuous and not already conveniently binned, then you'll
have to use an appropriate function to create your categories before running
-table-.

Regards,

Lee Sieswerda, Epidemiologist
Thunder Bay District Health Unit
Lee.Sieswerda@tbdhu.com



-----Original Message-----
From: cthompson@dfpm.utah.edu [mailto:cthompson@dfpm.utah.edu] 
Sent: Wednesday, August 20, 2003 4:51 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: frequency polygon


Greetings Statalisters - 
I am using Intercooled STATA 8 and I want to create a frequency 
polygon (yes, a simple & elementary request), however, I am 
unable to find any command in STATA that will return what I 
need.  Any suggestions??
regards,
Clint Thompson
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index