item_dmacs | R Documentation |
item_dmacs
computes the dmacs effect size for a single indicator
relative to a single factor in a single focal group
item_dmacs(LambdaR, LambdaF, NuR, NuF, MeanF, VarF, SD, ThreshR = NULL, ThreshF = NULL, ThetaR = NULL, ThetaF = NULL, categorical = FALSE)
LambdaR |
is the factor loading of the indicator onto the factor of interest for the reference group. |
LambdaF |
is the factor loading of the indicator onto the factor of interest for the focal group. |
NuR |
is the indicator intercept for the reference group. |
NuF |
is the indicator intercept for the focal group. |
MeanF |
is the factor mean in the focal group |
VarF |
is the factor variances in the focal group. |
SD |
is the indicator standard deviations to be used as the denominator of the dmacs effect size. This will usually either be pooled standard deviation for the indicator or the standard deviation for the indicator in the reference group. |
ThreshR |
is a vector of thresholds (for categorical indicators)
for the reference group. Defaults to |
ThreshF |
is a vector of thresholds (for categorical indicators)
for the focal group. Defaults to |
ThetaR |
is the indicator residual variance in the
reference group. Defaults to |
ThetaF |
is the indicator residual variance in the
focal group. Defaults to |
categorical |
is a Boolean variable declaring whether the variables
in the model are ordered categorical. Models in which some variables are
categorical and others are continuous are not supported. If no value is
provided, categorical defaults to |
item_dmacs
is called by dmacs_summary_single
, which
in turn is called by lavaan_dmacs
and
mplus_dmacs
, which are the only functions in this
package intended for casual users
The dmacs effect size of equation 3 of Nye & Drasgow (2011).
Nye, C. & Drasgow, F. (2011). Effect size indices for analyses of measurement equivalence: Understanding the practical importance of differences between groups. Journal of Applied Psychology, 96(5), 966-980.
LambdaF <- 0.74 LambdaR <- 0.76 NuF <- 1.28 NuR <- 0.65 MeanF <- 0.21 VarF <- 1.76 SD <- 1.85 item_dmacs(LambdaR, LambdaF, NuR, NuF, MeanF, VarF, SD)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.