package bootstrap
- Alphabetic
- By Inheritance
- bootstrap
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- case class Bootstrap[T](MSE: Double, parameter: Double, parameterFunction: (Seq[T]) => Double)(implicit evidence$1: Numeric[T]) extends Product with Serializable
Container for the results of a bootstrap.
Container for the results of a bootstrap. The function is also stored so it is easier to find what parameter has been computed.
- T
type of the data
- MSE
mean square error of the parameter
- parameter
the value of the parameter on the data
- parameterFunction
function used to compute the statistic
Value Members
- def bootstrapMSE[T](data: Seq[T], parameterFunction: (Seq[T]) => Double, r: Int = 100)(implicit arg0: Numeric[T]): Bootstrap[T]
Performs a bootstrap on the data.
Performs a bootstrap on the data. The paramater to compute is passed as an argument. The number of permutations to compute is also a parameter with a default value set to 100.
- T
type of the data
- data
Sequence on which to perform the bootstrap
- parameterFunction
the parameter to compute on the data
- r
the number of permutations to compute, set to 100 by default
- returns
mean square error MSE