cluster_programming_syntax.ihlp
来自「是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到」· IHLP 代码 · 共 108 行
IHLP
108 行
{* 06apr2005}{...}
{pstd}
Obtain various attributes of a cluster analysis
{p 8 23 2}{cmd:cluster} {cmd:query} [{it:clname}]
{pstd}
Set various attributes of a cluster analysis
{p 8 23 2}{cmd:cluster} {cmd:set}{space 3}[{it:clname}] [{cmd:,}
{it:set_options} ]
{pstd}
Delete attributes from a cluster analysis
{p 8 23 2}{cmd:cluster} {cmdab:del:ete} {it:clname} [{cmd:,}
{it:delete_options} ]
{pstd}
Check similarity and dissimilarity measure name
{p 8 23 2}{cmd:cluster} {cmdab:parsedist:ance} {help measure_option:{it:measure}}
{pstd}
Compute similarity and dissimilarity measure
{p 8 23 2}{cmd:cluster} {cmd:measures} {it:varlist}
[{cmd:if} {it:exp}] [{cmd:in} {it:range}] {cmd:,}
{cmdab:comp:are:(}{it:numlist}{cmd:)}
{cmdab:gen:erate:(}{it:newvarlist}{cmd:)}
[ {it:measures_options} ]
{synoptset 24}{...}
{synopthdr:set_options}
{synoptline}
{synopt:{opt add:name}}add {it:clname} to the master list of cluster
analyses{p_end}
{synopt:{opt t:ype(type)}}set the cluster type for {it:clname}{p_end}
{synopt:{opt m:ethod(method)}}set the name of the clustering method for the
cluster analysis{p_end}
{synopt:{opt s:imilarity(measure)}}set the name of the similarity measure used
for the cluster analysis{p_end}
{synopt:{opt d:issimilarity(measure)}}set the name of the dissimilarity measure
used for the cluster analysis{p_end}
{synopt:{opt v:ar(tag varname)}}set {it:tag} that points to {it:varname}{p_end}
{synopt:{opt c:har(tag charname)}}set {it:tag} that points to
{it:charname}{p_end}
{synopt:{opt o:ther(tag text)}}set {it:tag} with {it:text} attached to the tag
marker{p_end}
{synopt:{opt n:ote(text)}}add a note to the {it:clname}{p_end}
{synoptline}
{p2colreset}{...}
{synoptset 24}{...}
{synopthdr:delete_options}
{synoptline}
{synopt:{opt zap}}delete all possible settings for {it:clname}{p_end}
{synopt:{opt del:name}}remove {it:clname} from the master list of current
cluster analysis{p_end}
{synopt:{opt t:ype}}delete the cluster type entry from {it:clname}{p_end}
{synopt:{opt m:ethod}}delete the cluster method entry from {it:clname}{p_end}
{synopt:{opt d:issimilarity}}delete the dissimilarity entries from
{it:clname}{p_end}
{synopt:{opt s:imilarity}}delete the similarity entries from {it:clname}{p_end}
{synopt:{opth n:otes(numlist)}}delete the specified numbered
notes from {it:clname}{p_end}
{synopt:{opt alln:otes}}remove all notes from {it:clname}{p_end}
{synopt:{opt v:ar(tag)}}remove {it:tag} from {it:clname}{p_end}
{synopt:{opt allv:ars}}remove all the entries pointing to variables for
{it:clname}{p_end}
{synopt:{opt varz:ap(tag)}}same as {cmd:var()}, but also delete the referenced
variable{p_end}
{synopt:{opt allvarz:ap}}same as {cmd:allvars}, but also delete the
variables{p_end}
{synopt:{opt c:har(tag)}}remove {it:tag} that points to a Stata characteristic
from {it:clname}{p_end}
{synopt:{opt allc:hars}}remove all entries pointing to Stata characteristics
for {it:clname}{p_end}
{synopt:{opt charz:ap(tag)}}same as {cmd:char()}, but also delete the
characteristic{p_end}
{synopt:{opt allcharz:ap}}same as {cmd:allchars}, but also delete the
characteristics{p_end}
{synopt:{opt o:ther(tag)}}delete {it:tag} and its associated text from
{it:clname}{p_end}
{synopt:{opt allo:thers}}delete all entries from {it:clname} that have been set
using {cmd:other()}{p_end}
{synoptline}
{p2colreset}{...}
{synoptset 24 tabbed}{...}
{synopthdr:measures_options}
{synoptline}
{p2coldent :* {opth comp:are(numlist)}}use {it:numlist}
as the comparison observations{p_end}
{p2coldent :* {opth gen:erate(newvarlist)}}generate
{it:newvarlist} variables{p_end}
{synopt: {it:{help measure_option:measure}}}(dis)similarity measure; default is
{cmd:L2}{p_end}
{synopt: {opt propv:ars}}interpret observations implied by {cmd:if} and
{cmd:in} as proportions of binary observations{p_end}
{synopt: {opt propc:ompares}}interpret comparison observations as proportions
of binary observations{p_end}
{synoptline}
{p 4 6 2}* {opt compare(numlist)} and {opt generate(newvarlist)} are
required.{p_end}
{p2colreset}{...}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?