Learn R Programming

gimme (version 0.7-18)

highest.mi: Identifies highest MI from list of MIs.

Description

Identifies highest MI from list of MIs.

Usage

highest.mi(
  mi_list,
  indices,
  elig_paths,
  prop_cutoff,
  n_subj,
  chisq_cutoff,
  allow.mult,
  ms_tol,
  hybrid,
  dir_prop_cutoff
)

Value

Returns name of parameter associated with highest MI. If no MI meets the criteria, returns NA.

Arguments

mi_list

A list of MIs across individuals

indices

A list of fit indices. Only relevant at the individual-level.

elig_paths

A character vector containing eligible paths that gimme is allowed to add to a model (e.g., no nonsense paths).

prop_cutoff

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.

n_subj

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.

chisq_cutoff

Cutoff used in order for MI to be considered significant. Value varies depending on stage of search (e.g., group, subgroup, individual).