Identifies highest MI from list of MIs.
highest.mi(
mi_list,
indices,
elig_paths,
prop_cutoff,
n_subj,
chisq_cutoff,
allow.mult,
ms_tol,
hybrid,
dir_prop_cutoff,
rmsea_cutoff = 0.05,
srmr_cutoff = 0.05,
nnfi_cutoff = 0.95,
cfi_cutoff = 0.95,
n_excellent = 2
)Returns name of parameter associated with highest MI. If no MI meets the criteria, returns NA.
A list of MIs across individuals
A list of fit indices. Only relevant at the individual-level.
A character vector containing eligible paths that gimme is allowed to add to a model (e.g., no nonsense paths).
The proportion of individuals for whom a path must be significant in order for it to be added to the models. NULL if used at the individual-level.
The number of subjects in a given stage of the search. If in the group stage, n_subj equals the number of subjects. If in the subgroup stage, n_subj equals the number of individuals in a given subgroup. At the individual stage, n_subj = 1.
Cutoff used in order for MI to be considered significant. Value varies depending on stage of search (e.g., group, subgroup, individual).
Cutoff for RMSEA for an individual model(default is .05; must be between 0.0 and 1.0).
Cutoff for SRMR for an individual model (default is .05; must be between 0.0 and 1.0).
Cutoff for NNFI for an individual model (default is .95; must be between 0.0 and 1.0).
Cutoff for CFI for an individual model (default is .95; must be between 0.0 and 1.0).
Number of fit indices needed to surpass their cutoffs for an individual model to be considered excellent. Default is 2. Max is 4.