Speaking Stata: The statsby strategy

被引:6
作者
Cox, Nicholas J. [1 ]
机构
[1] Univ Durham, Dept Geog, Durham, England
关键词
gr0045; statsby; graphics; groups; comparisons; box plots; confidence intervals;
D O I
10.1177/1536867X1001000112
中图分类号
O1 [数学]; C [社会科学总论];
学科分类号
03 ; 0303 ; 0701 ; 070101 ;
摘要
The statsby command collects statistics from a command yielding r-class or e-class results across groups of observations and yields a new reduced dataset. statsby is commonly used to graph such data in comparisons of groups; the subsets and total options of statsby are particularly useful in this regard. In this article; I give examples of using this approach to produce box plots and plots of confidence intervals.
引用
收藏
页码:143 / 151
页数:9
相关论文
共 8 条
[1]   Speaking Stata: Problems with tables, Part I [J].
Cox, Nicholas J. .
STATA JOURNAL, 2003, 3 (03) :309-324
[2]   Speaking stata: Between tables and graphs [J].
Cox, Nicholas J. .
STATA JOURNAL, 2008, 8 (02) :269-289
[3]   Speaking Stata: How to move step by: step [J].
Cox, Nicholas J. .
STATA JOURNAL, 2002, 2 (01) :86-102
[4]   Speaking Stata: How to repeat yourself without going mad [J].
Cox, Nicholas J. .
STATA JOURNAL, 2001, 1 (01) :86-97
[5]   Speaking Stata: Creating and varying box plots [J].
Cox, Nicholas J. .
STATA JOURNAL, 2009, 9 (03) :478-496
[6]  
NEWSON R, 2000, STATA TECHNICAL B, V58, P2
[7]  
Newson R. B., 1999, STATA TECHNICAL B, V49, P2
[8]   Confidence intervals and p-values for delivery to the end user [J].
Newson, Roger .
STATA JOURNAL, 2003, 3 (03) :245-269