Learn R Programming

tidylearn (version 0.1.0)

tl_test_model_difference: Perform statistical comparison of models using cross-validation

Description

Perform statistical comparison of models using cross-validation

Usage

tl_test_model_difference(
  cv_results,
  baseline_model = NULL,
  test = "t.test",
  metric = NULL
)

Value

A data frame with statistical test results

Arguments

cv_results

Results from tl_compare_cv function

baseline_model

Name of the model to use as baseline for comparison

test

Type of statistical test: "t.test" or "wilcox"

metric

Name of the metric to compare