Daim.control {Daim}R Documentation

Control parameters for the diagnostic accuracy of models.

Description

Control of resampling methods.

Usage

Daim.control(method="boot", number = 100, replace = TRUE, 
                boot.size = 1, k = 10, k.runs = 10,
                dependency = list(var = NULL, keep.id = FALSE))

Arguments

method The resampling method: boot, cv
number the number of bootstrap samples.
replace a logical indicating whether sampling of observations is done with or without replacement.
boot.size percentage of observations (0 < boot.size < 1) to draw without replacement (only relevant if replace = FALSE). In this case subagging (Buehlmann and Yu, 2002) without replacement is performed.
k the number of folds
k.runs the number of runs of k-fold cross-validations
dependency ...

References

Leo Breiman (1996b), Out-Of-Bag Estimation. Technical Report.
ftp://ftp.stat.berkeley.edu/pub/users/breiman/OOBestimation.ps.Z.

Peter Buehlmann and Bin Yu (2002), Analyzing Bagging.
The Annals of Statistics 30(4), 927–961.

See Also

Daim

Examples


  ###
  ### for bootstrap
  ###

  Daim.control(method="boot",number=100)

  ###
  ### for cross-validation
  ###

  Daim.control(method="cv", k=10, k.runs=10)

  ###
  ### for subagging or subsampling
  ###

  Daim.control(method="boot", number=100, replace=FALSE, 
        boot.size=0.9)


[Package Daim version 1.0.0 Index]