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

{title:Title}

{p2colset 5 15 16 2}{...}
{p2col :{hi:reduce} {hline 2}}Perform Quine-McCluskey logical reduction{p_end}
{p2colreset}{...}


{title:Syntax}

{p 8 14 2} {cmd:reduce} [{it:outcomevar} {it:configurations}]
 [{cmd:,}  {opt dnc:are(configlist)}]

	
{title:Description}

{pstd}
{cmd:reduce} uses the Quine-McCluskey algorithm to perform a logical reduction
of the configurations entered.  {cmd:reduce} works after {cmd:fuzzy} and its
related stand-alone programs. It also automatically produces the coverage
statistics for the final reduced solution set.  If no {it:outcomevar} or
{it:configurations} are specified, {cmd:reduce} will use the last set of
displayed configurations (either from a call to {cmd:fuzzy} or a
{cmd:settest()} stand-alone command: {cmd:yvn}, {cmd:yvo}, {cmd:yvv},
{cmd:yavyb}, {cmd:cmvom}, or {cmd:mavmb}).) 
The configurations do not need to exist in the
dataset, but their individual single, capital letter versions must exist.
Also all configurations entered must be of equal length and
be composed of similar sets (i.e., must enter "full" configurations).


{title:Option}

{p 4 8 2}
{opt dncare(configlist)} sets the configurations to be specified as
"do-not-care" configurations, meaning they are used only in the first step of
the reduction process.  The do-not-care configurations should not be in
the base configuration list.


{title:Examples}

{p 4 8 2}{cmd:. reduce Y Abc aBc ABC}

{p 4 8 2}{cmd:. reduce Y Abc aBc ABC, dncare(abc ABc)}

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

{p 4 8 2}{cmd:. fuzzy drink age grades friends, label(D A G F) settest(yvv) sigonly}{p_end}
{phang}{cmd:. yvn, great(col1) last}{p_end}
{phang}{cmd:. reduce}
{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}
