psn_style_scm: PsN style stepwise covariate method

View source: R/psn_style_scm.R

psn_style_scmR Documentation

PsN style stepwise covariate method

Description

[Experimental]

Intent is not to replicate PsN SCM. This is mainly here for illustrative and comparison purposes. Should replicate the model selection in PsN's SCM functionality with greedy setting.

Usage

psn_style_scm(base, run_in, dtest, alpha_forward = 0.05, alpha_backward = 0.01)

Arguments

base

An nm object (base model).

run_in

A directory to run in.

dtest

Output of test_relations().

alpha_forward

Numeric (default = 0.05). Alpha level for forward inclusion.

alpha_backward

Numeric (default = 0.01). Alpha level for backward deletion.

Value

The nm object of the selected model.

See Also

test_relations(), covariate_step_tibble(), bind_covariate_results().


NMproject documentation built on Sept. 30, 2022, 1:06 a.m.