odds_adjust: Title Update a prediction model for a binary outcome by...

View source: R/interceptAdj.R

odds_adjustR Documentation

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)

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.

Value

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


predtools documentation built on June 7, 2023, 5:58 p.m.