boot_change_point: Bootstrap Estimation of Changepoint and simulated miss visits

boot_change_pointR Documentation

Bootstrap Estimation of Changepoint and simulated miss visits

Description

Bootstrap Estimation of Changepoint and simulated miss visits

Usage

boot_change_point(
  sim_data,
  n_sim_trials = 100L,
  sim_algorithm = "simple",
  sim_ctrl = NULL,
  eval_criteria = "AIC",
  week_period = FALSE,
  num_cores = NULL,
  no_bootstrapping = FALSE,
  auto_reg = FALSE
)

Arguments

sim_data

a dataset containing the time_map, miss bins and other parameters used for the simulation. This dataset should be created using the 'prep_sim_data()' function

n_sim_trials

Number of trials to run in simulation of miss visits or miss patients

sim_algorithm

a string defining the algorithm to use. Option include "simple", "simple_correlated" and "general"

sim_ctrl

the sim_ctrl function that defines additional parameter values passed to the simulation. If no value is supplied (i.e., sim_ctrl = NULL) then default values for the sim_ctrl() function will be used

num_cores

The number of worker cores to use. If not specified will detect cores and use 1 less than the number of cores

no_bootstrapping

Specifies whether you want to run the simulations without bootstrapping the original dataset


aarmiller/delaySim documentation built on Jan. 2, 2023, 11:23 p.m.