ExProb.blrm: Function Generator for Exceedance Probabilities for 'blrm()'

Description Usage Arguments Value Author(s)

Description

For a blrm() object generates a function for computing the estimates of the function Prob(Y>=y) given one or more values of the linear 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. lptau must be provided when call the created function if the model is a partial proportional odds model.

Usage

1
2
## S3 method for class 'blrm'
ExProb(object, posterior.summary = c("mean", "median"), ...)

Arguments

object

a blrm() fit

posterior.summary

defaults to posterior mean; may also specify "median". Must be consistent with the summary used when creating lp.

...

ignored

Value

an R function

Author(s)

Frank Harrell


rmsb documentation built on Feb. 28, 2021, 1:06 a.m.