{smcl}
{* *! version 1.1 March 11 2015 J. N. Luchman}{...}
{cmd:help mixdom}
{hline}{...}
{title:Title}
{pstd}
Wrapper program for {cmd:domin} to conduct linear mixed effects regression dominance analysis{p_end}
{title:Syntax}
{phang}
{cmd:mixdom} {it:depvar} {it:indepvars} {it:{help if}} {weight} {cmd:,}
{opt id(idvar)} [{opt {ul on}re{ul off}opt(re_options)} {opt {ul on}xtm{ul off}opt(xtmixed_options)} {opt {ul on}noc{ul off}onstant}]
{phang}{cmd:pweight}s and {cmd:fweight}s are allowed (see help {help weights:weights}). {help fvvarlist:Factor} and
{help tsvarlist:time series variables} are allowed.
{title:Description}
{pstd}
{cmd:mixdom} sets the data up in a way to allow for the dominance analysis of a linear mixed effects regression by utilizing {help xtmixed}.
The method outlined here follows that for the within- and between-cluster Snijders and Bosker (1994) R2 metric described by Luo and Azen (2013).
{pstd}
{cmd:mixdom} only allows 1 level of clustering in the data (i.e., 1 random effect), which must be the cluster constant/mean/intercept. Luo and
Azen (2013) recommend that even if random coefficients are present in the data, they should be restricted to a fixed effect only in the dominance
analysis.
{pstd}
Negative R2 values indicate model misspecification.
{marker options}{...}
{title:Options}
{phang}{opt id()} specifies the variable on which clustering occurs and that will appear after the random effects specification (i.e., ||) in the
{cmd:xtmixed} syntax.
{phang}{opt remopt()} passes options to {cmd: xtmixed} specific to the random intercept effect (i.e., {opt pweight()} the user would
like to utilize during estimation.
{phang}{opt xtmopt()} passes options to {cmd:xtmixed} that the user would like to utilize during estimation.
{phang}{opt noconstant} does not estimate an average fixed-effect constant (see option {opt noconstant} of {help xtmixed}).
{title:Saved results}
{phang}{cmd:mixdom} saves the following results to {cmd: e()}:
{synoptset 16 tabbed}{...}
{p2col 5 15 19 2: scalars}{p_end}
{synopt:{cmd:e(r2_w)}}within-cluster R2{p_end}
{synopt:{cmd:e(r2_b)}}between-cluster R2{p_end}
{title:References}
{p 4 8 2}Luo, W., & Azen, R. (2013). Determining predictor importance in hierarchical linear models using dominance analysis. {it:Journal of Educational and Behavioral Statistics, 38(1)}, 3-31.{p_end}
{p 4 8 2}Snijders, T. A. B., & Bosker, R. J. (1994). Modeled variance in two-level models. {it:Sociological Methods & Research, 22(3)}, 342-363.{p_end}
{title:Author}
{p 4}Joseph N. Luchman{p_end}
{p 4}Senior Scientist{p_end}
{p 4}Fors Marsh Group LLC{p_end}
{p 4}Arlington, VA{p_end}
{p 4}jluchman@forsmarshgroup.com{p_end}
{title:Also see}
{psee}
{manhelp xtmixed R}.
{p_end}