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

📄 sttocc.hlp

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

{title:Title}

{p2colset 5 20 22 2}{...}
{p2col :{hi:[ST] sttocc} {hline 2}}Convert survival-time data to case-control data{p_end}
{p2colreset}{...}


{title:Syntax}

{p 8 15 2}
{cmd:sttocc} {varlist} [{cmd:,} {it:options}]


{synoptset 27 tabbed}{...}
{synopthdr}
{synoptline}
{syntab:Main}
{synopt :{opt m:atch(matchvarlist)}}match cases and controls on analysis time and specified categorical variables; default is to match on analysis time only{p_end}
{synopt :{opt n:umber(#)}}use {it:#} controls for each case; default is {cmd:number(1)}{p_end}
{synopt :{opt nodot:s}}suppress displaying dots during calculation{p_end}
{synopt :{opt gen:erate(case set time)}}new variable names; default is {cmd:_case}, {cmd:_set}, and {cmd:_time}{p_end}
{synoptline}
{p2colreset}{...}
{p 4 6 2}
You must {cmd:stset} your data before using {cmd:sttocc}; 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:sttocc} generates a nested case-control study dataset from a
cohort-study dataset by sampling controls from the risk sets.  For each case,
the controls are chosen randomly from those members of the cohort who are at
risk at the failure time of the case.  Said differently, the resulting
case-control sample is matched with respect to analysis time{hline 2}the time
scale used to compute risk sets.


{title:Options}


{dlgtab:Main}

{phang}
{opt match(matchvarlist)} specifies additional categorical variables for
matching controls to cases.  If {opt match()} is not specified, cases and
controls are matched with respect to time only.  If {opt match(matchvarlist)}
is specified, the cases will also be match by {it:matchvarlist}.

{phang}
{opt number(#)} specifies the number of controls to draw for each case.  The
default is 1, even though this is not a very sensible choice.

{phang}
{opt nodots} requests that dots not be placed on the screen at the beginning
of each case-control group selection. By default, dots are displayed to
provide entertainment.


{dlgtab:Options}

{phang}
{opt generate(case set time)} specifies variable names for three
new variables, {hi:_case}, {hi:_set}, and {hi:_time}.


{title:Example}

    {cmd:. sttocc, match(job) n(5)}


{title:Also see}

{psee}
Manual:  {bf:[ST] sttocc}

{psee}
Online: {help st}, {helpb stbase}, {helpb stdes}, {helpb stsplit}

⌨️ 快捷键说明

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