Taiwan Technician
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Speaking Stata - Turning over a New Leaf

向下

Speaking Stata - Turning over a New Leaf Empty Speaking Stata - Turning over a New Leaf

發表 由 poemc 周四 1月 02, 2020 1:08 am

Turning over a New Leaf

Stem-and-leaf displays have been widely taught since John W. Tukey publicized them energetically in the 1970s. They remain useful for many distributions of small or modest size, especially for showing fine structure such as digit preference. Stata's implementation stem produces typed text displays and has some inevitable limitations, especially for comparison of two or more displays. One can re-create stem-and-leaf displays with a few basic Stata commands as scatterplots of stem variable versus position on line with leaves shown as marker labels. Comparison of displays then becomes easy and natural using scatter, by(). Back-to-back presentation of paired displays is also possible. I discuss variants on standard stem-and-leaf displays in which each distinct value is a stem, each distinct value is its own leaf, or axes are swapped. The problem shows how one can, with a few lines of Stata, often produce standard graph forms from first principles, allowing in turn new variants. I also present a new program, stemplot, as a convenience tool.

Download: Link 1

poemc
Admin

文章數 : 4847
注冊日期 : 2017-08-09
來自 : Taipei

https://poemc.666forum.com

回頂端 向下

回頂端


 
這個論壇的權限:
無法 在這個版面回復文章