backward_step_IM: Internal function that does the backward step for the...

View source: R/LEGIT.R

backward_step_IMR Documentation

Internal function that does the backward step for the stepwise IM function. #@param empty_start_dataset If TRUE, the initial dataset is empty. #@param fit Current best fit. #@param ... Same parameters as in the stepwise function.

Description

Internal function that does the backward step for the stepwise IM function. #@param empty_start_dataset If TRUE, the initial dataset is empty. #@param fit Current best fit. #@param ... Same parameters as in the stepwise function.

Usage

backward_step_IM(
  fit,
  data,
  formula,
  interactive_mode = FALSE,
  latent_var_current = NULL,
  latent_var_dropped = NULL,
  search = NULL,
  search_criterion = "AIC",
  p_threshold = 0.2,
  exclude_worse_AIC = TRUE,
  max_steps = 100,
  cv_iter = 5,
  cv_folds = 10,
  folds = NULL,
  Huber_p = 1.345,
  classification = FALSE,
  start_latent_var = start_latent_var,
  eps = 0.01,
  maxiter = 100,
  family = gaussian,
  ylim = NULL,
  seed = NULL,
  print = TRUE,
  test_only = FALSE
)

Value

Returns fit, start_latent_var, latent_var_current and latent_var_dropped.


LEGIT documentation built on May 29, 2024, 7:27 a.m.