lowest.z: Identifies lowest z value from list of z values.

View source: R/lowest.z.R

lowest.zR Documentation

Identifies lowest z value from list of z values.

Description

Identifies lowest z value from list of z values.

Usage

lowest.z(z_list, elig_paths, prop_cutoff, n_subj)

Arguments

z_list

A list of z values across individuals.

elig_paths

A character vector containing eligible paths that gimme is allowed to drop from the model at a given stage.

prop_cutoff

The proportion of individuals for whom a path must be nonsignificant in order for it to be dropped from 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.

Value

Returns name of parameter associated with lowest z. If no z meets the criteria, returns NA.


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