BiasVarTO {evidence} | R Documentation |
a simple example of the bias–variance trade-off.
Description
A total of eight models are fitted to a data set consisting of seven predictors. The response is the exact fit with a variable amount of zero-mean noise added. This is repeated a certain number of times (by default, 100 times). Plots of Bias^2 and variance vs. the number of parameters are produced.
Usage
BiasVarTO(times = 100)
Arguments
times |
the number of repeats to average bias and variance over (default 100) |
Value
none produced, the function produces two plots
Author(s)
Robert van Hulst
References
van Hulst, R. 2018. Evaluating Scientific Evidence. ms.
[Package evidence version 0.8.10 Index]