📄 stsum.hlp
字号:
{smcl}
{* 16mar2005}{...}
{cmd:help stsum} {right:dialog: {bf:{dialog stsum}}}
{hline}
{title:Title}
{p2colset 5 19 21 2}{...}
{p2col :{hi:[ST] stsum} {hline 2}}Summarize survival-time data{p_end}
{p2colreset}{...}
{title:Syntax}
{p 8 14 2}
{cmd:stsum} {ifin} [{cmd:,} {opth by(varlist)} {opt nosh:ow}]
{pstd}
You must {cmd:stset} your data before using {cmd:stsum}; see {helpb stset}.{p_end}
{pstd}
{cmd:by} may be used with {cmd:stsum}; see {helpb by}.{p_end}
{pstd}
Note that {opt fweight}s, {opt iweight}s, and {opt pweight}s may be specified with {cmd:stset}; see {helpb stset}.{p_end}
{title:Description}
{pstd}
{cmd:stsum} presents summary statistics: time at risk, incidence rate,
number of subjects, and the 25th, 50th, and 75th percentiles of survival time.
{pstd}
{cmd:stsum} can be used with single- or multiple-record or single- or
multiple-failure st date.
{title:Options}
{phang}
{opth by(varlist)} requests separate summaries for each group along with an
overall total. Observations are in the same group if they have equal values
of the variables in {it:varlist}. {it:varlist} may contain any number of
string or numeric variables.
{phang}
{opt noshow} prevents {cmd:stsum} from showing the key st variables. This
option is seldom used since most people type {cmd:stset, show} or
{cmd:stset, noshow} to set whether they want to see these variables mentioned
at the top of the output of every st command; see {helpb stset}.
{title:Examples}
{cmd:. stsum}
{cmd:. stsum if age>50}
{cmd:. stsum, by(agecat)}
{title:Also see}
{psee}
Manual: {bf:[ST] stsum}
{psee}
Online: {help st}, {helpb stdes}, {helpb stgen},
{helpb stir}, {help sts}, {helpb stset}, {helpb stvary}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -