BiasVarTO: a simple example of the bias-variance trade-off.

Description Usage Arguments Value Author(s) References

View source: R/BiasVarTO.R

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

1
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.


evidence documentation built on May 2, 2019, 2:14 p.m.