level.set {XReg}R Documentation

Level sets for extreme regression models

Description

level.set This function gives the decision rule for a given threshold. It also tells how many observations are indicated by each rule and gives the overall indicator of the observations indicated by the rule. Currently this function is only written for >= rules; however, with it one should be able to specify the desired inequality

Usage

level.set(thresh, output,pred=F,xpred=NULL,lower=-Inf,upper=Inf)

Arguments

thresh threshold or target output for rule x:f(x)>=thresh
output data structure from XR regression function
pred determine which observations are consistent with rule
xpred if pred=T, then sent observations for which the rule should be applied
lower lower bound for predictions
upper upper bound for predictions

Value

a list containing:

cutpoints cutpoints corresponding to level thresh

Author(s)

Michael LeBlanc mleblanc@fhcrc.org

Examples

##
  # see XReg

[Package XReg version 1.0 Index]