Skip to contents

Draws the risk-utility frontier of the differencing step: the level risk ceiling tau (guaranteed maximum differencing risk) against the relative loss (Z) level it costs (either expectation of |Z| or upper bound of the confidence interval of it), one curve per beta.

Usage

# S3 method for class 'pm_calib_diff'
plot(x, loss = c("CI", "EZ"), ...)

Arguments

x

A pm_calib_diff grid, as returned by pm_calib_diff().

loss

One of "CI" (for upper bound of the confidence interval), "EZ" (for expectation of the absolute relative loss |Z|): which loss metric to use on the x-axis.

...

Ignored, for compatibility with the plot() generic.

Value

The ggplot object, invisibly.

Examples