Learn R Programming

blm (version 2011.2.0)

plot: Plot of observed versus expected for blm and lexpit objects.

Description

Plot the expected versus observed count for a model with fewer than 10 covariate categories, or a predictiveness plot when there are 10 or more categories. The predictiveness plot gives the risk prediction on the y-axis, the risk percentile in the dataset on the x-axis, a red line denoting the observed mean event rate in the sample, and points indicated the observed counts at the midpoint of the decile risk groups (equivalent to the observed groups in a Hosmer-Lemeshow goodness-of-fit test).

Arguments