h_info_theory_dist: Calculating the Information Theoretic Distance

View source: R/helpers_rules.R

h_info_theory_distR Documentation

Calculating the Information Theoretic Distance

Description

[Experimental]

Helper function which provides the value of the divergence as given by equation in (7) in the reference at https://doi.org/10.1002/sim.8450.

Usage

h_info_theory_dist(prob, target, asymmetry)

Arguments

prob

(numeric)
vector or matrix with probabilities of a DLT occurring.

target

(number )
single target probability of a DLT.

asymmetry

(number)
describes the rate of penalization for overly toxic does, range 0 to 2.

Examples

h_info_theory_dist(c(0.5, 0.2), 0.4, 1.2)

Roche/crmPack documentation built on April 30, 2024, 3:19 p.m.