comparePlot: Compare - Plots

Description Details Examples

Description

Plots 2-4 influence curves to the same model.

Details

S4-Method comparePlot for signature IC,IC has been enhanced compared to its original definition in RobAStBase so that if argument MBRB is NA, it is filled automatically by a call to optIC which computes the MBR-IC on the fly. To this end, there is an additional argument n.MBR defaulting to 10000 to determine the number of evaluation points.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
N0 <- NormLocationScaleFamily(mean=0, sd=1)
N0.Rob1 <- InfRobModel(center = N0,
           neighbor = ContNeighborhood(radius = 0.5))

## Don't run to reduce check time on CRAN
## Not run: 
IC1 <- optIC(model = N0, risk = asCov())
IC2 <- optIC(model = N0.Rob1, risk = asMSE())

comparePlot(IC1,IC2, withMBR=TRUE)

## End(Not run)

ROptEst documentation built on May 31, 2017, 2:50 a.m.