boot_change_point: Bootstrap Estimation of Changepoint and simulated miss visits

Description Usage Arguments

Description

Bootstrap Estimation of Changepoint and simulated miss visits

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
boot_change_point(
  sim_data,
  sim_version = "visits",
  n_sim_trials = 100L,
  new_draw_weight = 0,
  sim_duartion_for_regression = FALSE,
  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

sim_version

The simulation version to run. Options include "visits" (default) or "patients"

n_sim_trials

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

new_draw_weight

A weighing parameter used to assign preference to drawing previously "missed" patients at each time step. A value of 0 applies strict preference to drawing patients who have been assigned to miss in prior time steps, while a value 0.5 applies equal weight to patients who have and have not been previously selected

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/delayDX documentation built on July 11, 2021, 4:01 p.m.