smoothMiner (version 0.1-10)

varfitOOB: plug in functions for goodness of fit assessment in smoothExp

Description

plug in functions for goodness of fit assessment in smoothExp

Usage

varfitOOB(fitter, fmla)
varfitFIX(fitter, fmla, exclinds)
varfitRanpart(fitter, fmla)

Arguments

fitter
a function that performs a model fit
fmla
a formula suitable for use with the fitter
exclinds
indices of observations not to be used in fitting, retained as test points

Value

  • these functions should return a single number measuring goodness of fit of model

Details

these are function closures; can't be used on their own, but work as plugins to smoothExp in the vp parameter.

Examples

Run this code
# see smoothExp example

Run the code above in your browser using DataLab