📄 stir.hlp
字号:
{smcl}
{* 14mar2005}{...}
{cmd:help stir} {right:dialog: {bf:{dialog stir}}}
{hline}
{title:Title}
{p2colset 5 18 20 2}{...}
{p2col :{hi:[ST] stir} {hline 2}}Report incidence-rate comparison{p_end}
{p2colreset}{...}
{title:Syntax}
{p 8 13 2}
{cmd:stir} {it:exposedvar} {ifin} [{cmd:,} {it:options}]
{synoptset 21 tabbed}{...}
{synopthdr}
{synoptline}
{syntab:Main}
{synopt :{opth st:rata(varname)}}stratify on {it:varname}{p_end}
{synopt :{opt nosh:ow}}do not show st setting information{p_end}
{syntab:Options}
{synopt :{opt ird}}report incidence-rate difference rather than ratio{p_end}
{synopt :{opt es:tandard}}combine external weights with within-stratum statistics{p_end}
{synopt :{opt is:tandard}}combine internal weights with within-stratum statistics{p_end}
{synopt :{opth s:tandard(varname)}}combine user-specified weights with within-stratum statistics{p_end}
{synopt :{opt p:ool}}display pooled estimate{p_end}
{synopt :{opt noc:rude}}do not display crude estimate{p_end}
{synopt :{opt noh:om}}do not display homogeneity test{p_end}
{synopt :{opt tb}}calculate test-based confidence intervals{p_end}
{synopt :{opt l:evel(#)}}set confidence level; default is {cmd:level(95)}{p_end}
{synoptline}
{p2colreset}{...}
{p 4 6 2}
Options except {opt noshow}, {opt tb}, and {opt level(#)} are relevant only if
{opt strata()} is specified.{p_end}
{p 4 6 2}
You must {cmd:stset} your data before using {cmd:stir}; see {helpb stset}.{p_end}
{p 4 6 2}
{cmd:by} may be used with {cmd:stir}; see {helpb by}.{p_end}
{p 4 6 2}
Note that {opt fweight}s and {opt iweight}s may be specified using {cmd:stset};
see {helpb stset}. {cmd:stir} may not be used with {opt pweight}ed data.
{title:Description}
{pstd}
{cmd:stir} reports point estimates and confidence intervals for the
incidence-rate ratio and difference. {cmd:stir} is an interface to the
{cmd:ir} command; see {helpb epitab}.
{pstd}
By the logic of {cmd:ir}, {it:exposedvar} should be a 0/1 variable, 0
meaning unexposed and 1 meaning exposed. {cmd:stir}, however, allows any
two-valued coding and even allows {it:exposedvar} to be a string variable.
{pstd}
{cmd:stir} may not be used with {help pweight}ed data.
{pstd}
{cmd:stir} can be used with single- or multiple-record or single- or multiple
failure st data.
{title:Options}
{dlgtab:Main}
{phang}
{opth strata(varname)} specifies that the calculation be stratified on
{it:varname}, which may be a numeric or string variable. Within-stratum
statistics are shown and then combined with Mantel-Haenszel weights.
{phang}
{opt noshow} prevents {cmd:stir} 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}.
{dlgtab:Options}
{phang}
{opt ird}, {opt estandard}, {opt istandard}, {opth standard(varname)},
{opt pool}, {opt nocrude}, and {opt nohom} are relevant only if {opt strata()}
is specified; see {helpb epitab}.
{phang}
{opt tb} and {opt level(#)} are relevant in all cases; see {helpb epitab}.
{title:Example}
{cmd:. stir smokes}
{cmd:. stir smokes, by(sex)}
{title:Also see}
{psee}
Manual: {bf:[ST] stir}
{psee}
Online: {help st}, {helpb stset}, {helpb stsum}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -