CI_MinimumSampleSize_fun: CI for minimum sample size

View source: R/CI_MinimumSampleSize_fun.R

CI_MinimumSampleSize_funR Documentation

CI for minimum sample size

Description

Find the confidence interval for minimum sample size, given a fitted accuracy/Kappa curve

Usage

CI_MinimumSampleSize_fun(
  X,
  prediction.ci,
  formula_rhs,
  start_parameters,
  thr_acc,
  min_sam_size,
  fit_accuracy
)

Arguments

prediction.ci

Confidence Interval for the fitted curve, made up of three variables.

thr_acc

Threshold of the chosen metric.

min_sam_size

Estimated minimum sample size.

fit_accuracy

Fitted object from nls.

tr_set_size

Training set size

Value

CI based on fitted upper and lower lines


gpcastelo/ML-minimum-sample-size documentation built on June 3, 2023, 8:48 p.m.