slope: Calculate the calibration slope

Description Usage Arguments Value

View source: R/slope.R

Description

The calibration slope, which is calculated by regressing the observed outcome on the predicted probabilities.

Usage

1
slope(x, y)

Arguments

y

Binomial response variable used to fit model

p

Estimated probabilities from fit model

Value

the point estimate and 95%ci of slope and intercept.


liuhongwei2018/calibration documentation built on Dec. 8, 2019, 1:35 p.m.