{smcl}
{* 26 April07}{...}
{hi:help coincid}{right: ({browse "http://www.stata-journal.com/article.html?article=st0140":SJ8-1: st0140})}
{hline}

{title:Title}

{p2colset 5 16 18 2}{...}
{p2col :{hi:coincid} {hline 2}}Produces a coincidence matrix{p_end}
{p2colreset}{...}


{title:Syntax}

{p 8 14 2} {cmd:coincid} [{it:outcomevar} {it:setlist} {it:configurations}]
[{it:{help if}}] {weight}
[{cmd:,}
 {cmdab:stand:ardized}
 {cmdab:last}
 {cmdab:usered:uction}]

{pstd}
{cmd:fweight}s, {cmd:iweight}s, and {cmd:pweight}s are allowed; see 
{help weight}.


{title:Description}

{pstd}
{cmd:coincid} creates a coincidence matrix for all variables, sets, or
configurations entered.  The configurations do not need to exist in the
dataset, but their individual single, capital letter versions must exist.


{title:Options}

{p 4 8 2}
{cmd:standardized} displays the standardized coincidence scores.	

{p 4 8 2}
{cmd:last} uses the outcome variable and configurations (or sets) from the last
run {cmd:fuzzy} or {cmd:settest()} option call as {it:outcomevar} and
{it:configurations}.  When this option is specified, {it:outcomevar} and
{it:configurations} should not be entered. Specifically, it uses the last
displayed set of configurations.  Thus, when using this option, a
{cmd:settest()} option must have been invoked on the last call to {cmd:fuzzy} or
just run as a stand-alone command. When {cmd:last} is used, only those last
displayed configurations will be used in the test.  If {cmd:settest()} was not
used in the last call to {cmd:fuzzy}, then {cmd:last} will display the
individual sets matrix.

{p 4 8 2}
{cmd:usereduction} uses the outcome variable and reduced configurations from
the last run {cmd:reduce} command for the consistency test.	       


{title:Examples}

{p 4 8 2}{cmd:. coincid Y Abc aBc AC}

{p 4 8 2}{cmd:. fuzzy drink age grades friends, label(D A G F) settest(yvn) sigonly}{p_end}
{phang}{cmd:. coincid}
	
{p 4 8 2}{cmd:. fuzzy drink age grades friends, label(D A G F) settest(yvn) sigonly}{p_end}
{phang}{cmd:. coincid, last}

{p 4 8 2}{cmd:. fuzzy D A G F, settest(yvn) sigonly greater(col1) reduce}{p_end}
{phang}{cmd:. coincid, usereduction}

{p 4 8 2}{cmd:. fuzzy drink age grades friends, label(D A G F) settest(yvn)}{p_end}
{phang}{cmd:. yvo, last sigonly}{p_end}
{phang}{cmd:. coincid, last}
{p_end}


{title:Also see}

{psee}
Article: {it:Stata Journal}, volume 8, number 1: {browse "http://www.stata-journal.com/article.html?article=st0140":st0140}
{p_end}
