run_compare_method: Compare change point methods

run_compare_methodR Documentation

Compare change point methods

Description

Compare change point methods

Usage

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/delaySim documentation built on Jan. 2, 2023, 11:23 p.m.