TABLE OF CONTENTS


miscUtils/accrate.predict.lm [ Functions ]

NAME

    accrate.predict.lm --- predicted acceptance rate distance from 25%

FUNCTION

This function is used to automatically select the tuning parameters.

SYNOPSIS

1157 accrate.predict.lm <- function(x, m) (predict(m, data.frame(x = x))-.25)^2

INPUTS

    m      a model returned by lm()
    x      a tuning parameter

OUTPUTS

    the predicted squared difference between the model m evaluated at x
    and 25%