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

View source: R/highest.mi.R

highest.miR Documentation

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
)

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).

Value

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


gimme documentation built on Aug. 30, 2023, 1:08 a.m.