{smcl}
{.-}
help for {cmd:effmenu2}
{.-}

{title:Syntax}
{p 8 27}
{cmdab:effmenu2:}
[{it:varlist}]
[{cmd:if} {it:exp}]
[{cmd:in} {it:range}]
[{cmd:,}
    {cmdab:res(:}{it:varname}{cmd:)}
    {cmdab:typ(:}{it:string}{cmd:)}
    {cmdab:exp(:}{it:varname}{cmd:)}
    {cmdab:mod(:}{it:varname}{cmd:)}
    {cmdab:eff:ects(}{it:string}{cmd:)}
    {cmdab:fup:(}{it:varname}{cmd:)}
    {cmdab:peru:(}{it:#}{cmd:)}
    {cmdab:pery:(}{it:#}{cmd:)}
    {cmdab:mcc:}
    {cmdab:mvar:(}{it:varname}{cmd:)}
    {cmdab:base:(}{it:#}{cmd:)}
    {cmdab:exm:}
    {cmdab:mom:}
    {cmdab:show:at(}{it:numlist}{cmd:)}
    {cmdab:con:(}{it:varlist}{cmd:)}
    {cmdab:met:(}{it:varlist}{cmd:)}
    {cmdab:ver:bose}
    {cmdab:level:(}{it:#}{cmd:)}
]

{title:Description}

{cmd:effmenu2} is the command-line version of {cmd:effmenu1}, and is used
for estimating effects from a command-line. 

{title:Options}

{cmd:res}	   response variable
{cmd:typ}	   type of response (metric/binary/failure/count)
{cmd:exp}	   exposure variable
{cmd:summary}	   summary required according to type of response
		   	 binary:  pd/pr/or
			 (standing for difference/ratio of proportions/odds ratio)
			 metric:  md/mr
			 (standing for difference of means/ratio of means)
			 failure: rd/rr
			 (standing for difference of rates/ratio of rates)
			 count:   rd/rr
			 (standing for difference of rates/ratio of rates)
	                 {cmd:WARNING}: when selecting pd, pr, or rd, there
		         may be problems in convergence  with some data sets.
{cmd:mod}	   modifying variable
{cmd:fup}	   variable containing follow-up time
{cmd:pery}	   for use with differences of rates (per #), default 1000
{cmd:perc}	   for use with differences of proportions, default 100
{cmd:peru}	   for use with effects of metric exposures (per unit of exposure), default 1
{cmd:mcc}	   when study is matched case-control
{cmd:mvar}	   matched set identifier for matched case-control studies
{cmd:base}	   base-line for categorical exposures, default 1
{cmd:exm}	   when exposure is metric
{cmd:mom}	   when modifier is metric
{cmd:showat}	   values at which to display predicted effects for metric modifiers
{cmd:con}	   list of variables to be controlled for
{cmd:met}	   list of control variables which are metric
{cmd:verbose}	   for more detail in the output
{cmd:level}	   level for confidence intervals

When either the exposure or modifier is categorical, a maximum of 15 values is allowed.

{title:Also see}

Help for {help effmenu1}, {help tabmenu1}, {help tabmenu2}.