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

{title:Title}

{p2colset 5 12 14 2}{...}
{p2col :{hi:yvy} {hline 2}}Testing two configurations' consistency with outcome against each other{p_end}
{p2colreset}{...}


{title:Syntax}

{p 8 14 2} {cmd:yvy} {it:outcomevar} {it:configuration1} {it:configuration2}
 [{it:{help if}}] {weight} [{cmd:,} {opt cluster(varname)}]

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


{title:Description}

{pstd}
{cmd:yvy} tests the y consistency of the first configuration entered against
the y consistency of the second configuration entered.  The configurations do
not need to exist in the dataset, but their individual single, capital letter
versions must.  It is also possible to test individual sets against each other,
but they must exist in the dataset (and be individual letters) and range from 0
to 1.


{title:Option}

{p 4 8 2}
{opt cluster(varname)} allows the standard errors produced by the {cmd:ratio}
command when calculating consistencies to adjust for intragroup correlation.
This option is used in the computation of the consistency scores.


{title:Examples}

{phang}{cmd:. yvy Y Abc aBc}

{phang}{cmd:. fuzzy drink age grades friends, label(D A G F) settest(yvv) sigonly}
{p_end}
{phang}{cmd:. yvy D Ag agF}
{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}
