Statalist


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

RE: st: -triplot- updated on SSC


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: -triplot- updated on SSC
Date   Wed, 4 Feb 2009 20:19:17 -0000

No data sets are provided with the -triplot- files on SSC. But some are
wrapped in the .zip file corresponding to my 2008 London users' meeting
talk. 

http://repec.org/usug2008/Cox.london082.zip

They include data for the 2000 and 2004 U.S. Presidential elections,
although half the point of using those as examples there is that triples
for (Dem, Rep, other) are crowded in one part of the data space. 

The talk also discussed _alternatives_ to triangular plots for such
data, but that is a story to be developed elsewhere, perhaps in a future
Speaking Stata column. 

The first example's data are (for the United States) 

     +--------------------------------------------+
     | year   agriculture   industrial   tertiary |
     |--------------------------------------------|
  1. | 1800          87.2          1.4       11.5 |
  2. | 1810            81          6.5       12.5 |
  3. | 1820            73           16       11.1 |
  4. | 1830          69.7         17.6       12.6 |
  5. | 1840          58.8         24.4       16.8 |
     |--------------------------------------------|
  6. | 1850          49.5         33.8       16.7 |
  7. | 1860          40.6           37       22.4 |
  8. | 1870            47           32         21 |
  9. | 1880          43.7         25.2       31.1 |
 10. | 1890          37.2         28.1       34.7 |
     |--------------------------------------------|
 11. | 1900          35.3         26.8       37.9 |
 12. | 1910          31.1         36.3       32.6 |
 13. | 1920          32.5           32       35.5 |
 14. | 1930          20.4         35.3       44.3 |
 15. | 1940          15.4         37.2       47.4 |
     |--------------------------------------------|
 16. | 1950          11.9         38.3       49.8 |
 17. | 1960             6         34.8       59.2 |
 18. | 1970           3.1         28.6       68.3 |
 19. | 1980           2.1         22.5       75.4 |
     +--------------------------------------------+

That example is discussed in 

<http://www.stata-journal.com/sjpdf.html?articlenum=gr0004> 

around Fig.15. If you look closely at that Figure, you can see the
effects of a small bug, a grid of horizontal lines corresponding to
invisible y axis labels. That bug has now been fixed. 

Nick 
[email protected] 

David Airey

I don't recognize the data set in the help file examples. Is it  
available?

On Feb 4, 2009, at 1:17 PM, Nick Cox wrote:

> Thanks to Kit Baum as usual, the -triplot- package has been updated on
> SSC. Stata 9 is required. Use -ssc- to install or update if  
> interested.
>

*
*   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/



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