givitiCalibrationTestComp implements the computations necessary to
perform the calibration test associated to the calibration belt.
givitiCalibrationTestComp(o, e, devel, thres, maxDeg)e must represent the probability of the event
coded as 1.o.internal) or if the model has
been developed on an external sample (external). See also the 'Details' sections.givitiCalibrationBelt and plot.givitiCalibrationBelt
to compute and plot the calibaration belt, and
givitiCalibrationTest to perform the
associated calibration test.
e <- runif(100)
o <- rbinom(100, size = 1, prob = e)
givitiCalibrationTestComp(o, e, "external", .95, 4)
Run the code above in your browser using DataLab