measure_bh_raw | R Documentation |
Obtain Measures of Model Fitness
measure_bh_raw(
object,
new.x,
new.y,
new.offset,
classify = FALSE,
classify.rule = 0.5
)
object |
A fitted object. |
new.x |
A data frame or matrix of new values for variables used in
object. For an object from |
new.y |
A vector of new response values corresponding to new.x. If
|
new.offset |
A data frame or vector of offset values for new data
points. If |
classify |
Logical. When |
classify.rule |
A value between 0 and 1. For a given predicted value
from a logistic regression, if the value is above |
A vector.
This function is taken directly from measure.bh
in
BhGLM
, with the modification that measures are no longer rounded,
and classification evaluation is possible for binary outcomes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.