run_compare_method: Compare change point methods

Description Usage Arguments Value

Description

Compare change point methods

Usage

1
run_compare_method(sim_data, method1, method2, loss_fun = "MSE")

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

method1

First change point method to compare

method2

Second change point method to compare

loss_fun

The loss function used in the comparison (mean squared error (MSE), root mean squared error (RMSE), mean absolute error (MAE), mean squared log error (MSLE), or root mean squared log error (RMSLE)

Value

A one row tibble which 3 columns: 1) the loss function used, 2) the value for method 1, and 3) the value for method 2


aarmiller/delayDX documentation built on July 11, 2021, 4:01 p.m.