Learn R Programming

predtools (version 0.0.3)

odds_adjust: Title Update a prediction model for a binary outcome by multiplying a fixed odd-ratio to the predicted odds.

Description

Title Update a prediction model for a binary outcome by multiplying a fixed odd-ratio to the predicted odds.

Usage

odds_adjust(p0, p1, v)

Value

Returns a correction factor that can be applied to the predicted odds in order to update the predictions for a new target population.

Arguments

p0

Mean of observed risk or predicted risk in development sample.

p1

Mean of observed risk in target population.

v

Variance of predicted risk in development sample.