Function Generator for Exceedance Probabilities for blrm
# S3 method for blrm
ExProb(object, codes = FALSE, posterior.summary = c("mean", "median"), ...)
a blrm
fit
if TRUE
, use the integer codes \(1,2,\ldots,k\) for the \(k\)-level response in computing the quantile
defaults to posterior mean; may also specify "median"
. Must be consistent with the summary used when creating lp
.
ignored
an R function
For a blrm
object generates a function for computing the estimates of the function Prob(Y>=y) given one or more values of thelinear predictor using the reference (median) intercept. This function can optionally be evaluated at only a set of user-specified y
values, otherwise a right-step function is returned. There is a plot method for plotting the step functions, and if more than one linear predictor was evaluated multiple step functions are drawn. ExProb
is especially useful for nomogram
. The linear predictor argument is a posterior summarized linear predictor lp (e.g. using posterior mean of intercepts and slopes) computed at the reference intercept