logit_ghitza: A logit transformation as implemented by Ghitza

View source: R/calibrate_util.R

logit_ghitzaR Documentation

A logit transformation as implemented by Ghitza

Description

This logit transformation (from a probability scale to unbounded) does some trimming around extreme values.

Usage

logit_ghitza(x, digits = 5)

Arguments

x

input

digits

The number of digits to round by. Larger values indicate more closer to a theoretical inverse logit.

Author(s)

Yair Ghitza

See Also

posthoc_error calib_oneway

Examples

 logit <- function(x) log(x/(1 - x))
 logit(0.000001)
 logit_ghitza(0.000001, digits = 5) # the default
 logit_ghitza(0.000001, digits = 1)
 logit_ghitza(0.000001, digits = 10)


kuriwaki/ccesMRPrun documentation built on Sept. 24, 2024, 2:15 a.m.