Learn R Programming

ecap (version 0.1.2)

summary.ecap: Summary of ECAP Object

Description

Prints summary information about the calibration of an ECAP object. *** Denotes that one of the parameter estimates has hit the end of the given grid of tuning parameters. The grid can be adjusted in the ecap function.

Usage

# S3 method for ecap
summary(object, digits, ...)

Arguments

object

An object of class ecap.

digits

The number of significant digits that should be displayed.

...

Additional arguments

References

http://faculty.marshall.usc.edu/gareth-james/Research/Probs.pdf

Examples

Run this code
# NOT RUN {
set.seed(1)
p_obs <- runif(1000, 0, 1)
win_var <- rbinom(length(p_obs), 1, p_obs)
ecap_fit <- ecap(unadjusted_prob = p_obs, win_var = win_var, win_id = 1, bias_indicator = FALSE)
summary(ecap_fit)
# }

Run the code above in your browser using DataLab