⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sts_test.hlp

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 HLP
字号:
{smcl}
{* 18mar2005}{...}
{cmd:help sts} {right:dialog:  {bf:{dialog ststest:sts test}}}
{hline}

{title:Title}

{p2colset 5 22 24 2}{...}
{p2col :{hi:[ST] sts test} {hline 2}}Test equality of survivor functions{p_end}
{p2colreset}{...}


{title:Syntax}

{p 8 21 2}
{cmd:sts} {opt t:est} {varlist} {ifin} [{cmd:,} {it:options}]

{synoptset 22 tabbed}{...}
{synopthdr}
{synoptline}
{syntab :Main}
{synopt :{opt l:ogrank}}perform log-rank test of equality; the default{p_end}
{synopt :{opt c:ox}}perform Cox test of equality{p_end}
{synopt :{opt w:ilcoxon}}perform Wilcoxon-Breslow-Gehan test of equality{p_end}
{synopt :{opt tw:are}}perform Tarone-Ware test of equality{p_end}
{synopt :{opt p:eto}}perform Peto-Peto-Prentice test of equality{p_end}
{synopt :{opt f:h(p q)}}perform generalized Fleming-Harrington test of equality{p_end}
{synopt :{opt tr:end}}test trend of the survivor function across three or more ordered groups{p_end}
{synopt :{opth st:rata(varlist)}}perform stratified test on {it:varlist}, displaying overall test results{p_end}
{synopt :{opt d:etail}}display individual test results; modifies {opt strata()}{p_end}

{syntab:Options}
{synopt :{opt mat(mname_1 mname2)}}store vector {cmd:u} in {it:mname_1} and matrix {cmd:V} in {it:mname_2}{p_end}
{synopt :{opt nosh:ow}}do not show st setting information{p_end}
{synopt :{opt not:itle}}suppress title{p_end}
{synoptline}
{p2colreset}{...}
{p 4 6 2}
You must {cmd:stset} your data before using {cmd:sts test}; see {helpb stset}.{p_end}
{p 4 6 2}
Note that {opt fweight}s, {opt iweight}s, and {opt pweight}s may be specified
using {cmd:stset}; see {helpb stset}.{p_end}


{title:Description}

{pstd}
{cmd:sts test} tests the equality of the survivor function across two or more
groups.  The log-rank, Cox, Wilcoxon-Breslow-Gehan, Tarone-Ware,
Peto-Peto-Prentice, and Fleming-Harrington tests are provided, in both
unstratified and stratified forms.

{pstd}
{cmd:sts test} also provides a test for trend.

{pstd}
{cmd:sts test} can be used with single- or multiple-record or single- or
multiple-failure st data.


{title:Options}

{dlgtab:Main}

{phang}
{opt logrank}, {opt cox}, {opt wilcoxon}, {opt tware}, {opt peto}, 
and {opt fh(p q)} specify the test of equality desired.  {opt logrank} is the
default, unless the data are {help pweight}ed, in which case, {opt cox} is the
default and is the only possibility.  See {bind:{bf:[ST] sts test}} for details.

{phang}
{opt trend} specifies that a test for trend of the survivor function across
three or more ordered groups be performed.

{phang}
{opth strata(varlist)} requests that a stratified test be performed.

{phang}
{opt detail} modifies {opt strata()}; it requests that, in addition to
the overall stratified test, the tests for the individual strata
be reported.  {opt detail} is not allowed with {opt cox}.

{dlgtab:Options}

{phang}
{opt mat(matname_1 matname_2)} requests that the vector {cmd:u} be stored in
{opt mname_1} and that matrix {cmd:V} be stored in {it:mname_2}.  The other
tests are rank tests of the form u'V^(-1)u.  This option may not be used with
{opt cox}.

{phang}
{opt noshow} prevents {cmd:sts test} 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}.

{phang}
{opt notitle} requests that the title printed above the test be suppressed.


{title:Examples}

    {cmd:. sts}
    {cmd:. sts,na}
    {cmd:. sts graph}
{phang}{cmd:. sts graph, by(posttran)}{p_end}
{phang}{cmd:. sts graph, na  by(posttran)}

    {cmd:. sts list}
{phang}{cmd:. sts list, na}{p_end}
{phang}{cmd:. sts list, by(posttran)}{p_end}
{phang}{cmd:. sts list, by(posttran) compare}{p_end}
{phang}{cmd:. sts list, by(posttran) compare at(0 100 to 1700)}{p_end}
{phang}{cmd:. sts list, na by(posttran) compare at(0 100 to 1700)}

{phang}{cmd:. sts test posttran}{p_end}
{phang}{cmd:. sts test posttran, wilcoxon}

{phang}{cmd:. gen age50 = age - 50}{p_end}
{phang}{cmd:. sts graph, by(drug) adjustfor(age50)}{p_end}
{phang}{cmd:. sts graph, strata(drug) adjustfor(age50)}{p_end}
{phang}{cmd:. sts list, by(drug) adjustfor(age50) compare}{p_end}
{phang}{cmd:. sts list, strata(drug) adjustfor(age50) compare}


{title:Also see}

{psee}
Manual:  {bf:[ST] sts test}

{psee}
Online:  {help st}, {helpb stcox}, {help sts}, {helpb sts generate}, 
{helpb sts graph}, {helpb sts list}, {helpb stset}
{p_end}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -