📄 rocfit.hlp
字号:
{smcl}
{* 18mar2005}{...}
{cmd:help rocfit}{...}
{right:dialog: {bf:{dialog rocfit}}{space 15}}
{right:also see: {help rocfit postestimation}}
{hline}
{title:Title}
{p2colset 5 19 21 2}{...}
{p2col:{hi:[R] rocfit} {hline 2}}Fit ROC models{p_end}
{p2colreset}{...}
{title:Syntax}
{p 8 16 2}
{cmd:rocfit}
{it:refvar}
{it:classvar}
{ifin}
{weight}
[{cmd:,} {it:rocfit_options}]
{synoptset 20 tabbed}
{synopthdr:rocfit_options}
{synoptline}
{syntab:Model}
{synopt:{opt cont:inuous(#)}}divide {it:classvar} into {it:#} groups of approximately equal length
{p_end}
{synopt:{opth g:enerate(newvar)}}create {it:newvar} containing classification groups
{p_end}
{syntab:SE/Robust}
{synopt:{opth vce(vcetype)}}{it:vcetype} may be {opt oim} or {opt opg}
{p_end}
{syntab:Reporting}
{synopt:{opt l:evel(#)}}set confidence level; default is {cmd:level(95)}
{p_end}
{syntab:Max options}
{synopt:{it:{help rocfit##maximize_options:maximize_options}}}control the
maximization process; seldom used
{p_end}
{synoptline}
{p2colreset}{...}
{p 4 6 2}
{opt fweight}s are allowed; see {help weight}.
{p_end}
{p 4 6 2}See {help rocfit postestimation} for features available after estimation.{p_end}
{title:Description}
{pstd}
{opt rocfit} fits maximum-likelihood ROC models assuming a binormal
distribution of the latent variable.
{pstd}
The two variables {it:refvar} and {it:classvar} must be numeric. The
reference variable indicates the true state of the observation, such as
diseased and nondiseased or normal and abnormal, and must be coded as 0 or 1.
The rating or outcome of the diagnostic test or test modality is recorded in
{it:classvar}, which must be at least ordinal, with higher values indicating
risk.
{pstd}
See {helpb roctab:roc} for other commands designed to perform Receiver Operating
Characteristic (ROC) analysis with rating and discrete classification data.
{title:Options}
{dlgtab:Model}
{phang}
{opt continuous(#)} specifies that the continuous
{it:classvar} be divided into {it:#} groups of approximately equal length.
The option is required when {it:classvar} takes on more than 20 distinct
values.
{pmore}
{cmd:continuous(.)} may be specified to indicate that {it:classvar}
be used as it is, even though it could have more than 20 distinct values.
{phang}
{opth generate(newvar)} specifies the new
variable that is to contain values indicating the groups produced by
{opt continuous(#)}. {opt generate()} may only be specified with
{opt continuous()}.
{dlgtab:SE/Robust}
{phang}
{opth vce(vcetype)}; see {it:{help vce_option}}.
{dlgtab:Reporting}
{phang}
{opt level(#)}; see {help estimation options##level():estimation options}.
{marker maximize_options}{...}
{dlgtab:Max options}
{phang}
{it:maximize_options}:
{opt diff:ifcult},
{opt tech:nique(algorithm_spec)},
{opt iter:ate(#)},
[{cmd:{ul:no}}]{opt lo:g},
{opt tr:ace},
{opt grad:ient},
{opt showstep},
{opt hess:ian},
{opt shownr:tolerance},
{opt tol:erance(#)},
{opt ltol:erance(#)},
{opt gtol:erance(#)},
{opt nrtol:erance(#)},
{opt nonrtol:erance},
{opt from(init_specs)}; see {help maximize}. These options are seldom used.
{title:Examples}
{phang}{cmd:. rocfit disease rating, cont(10)}{p_end}
{phang}{cmd:. rocfit disease rating, cont(.)}{p_end}
{phang}{cmd:. rocfit disease rating, cont(10) generate(group)}{p_end}
{title:Also see}
{psee}
Manual: {bf:[R] rocfit}
{psee}
Online: {help rocfit postestimation};{break}
{helpb roctab:roc}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -