log_odds: Log-odds Transformation

log_oddsR Documentation

Log-odds Transformation

Description

These functions implement the log-odds (or logit) transformation. This is a common transformation for psychometric models that is used to put probabilities on a continuous scale.

Usage

logit(x)

inv_logit(x)

Arguments

x

A number to be transformed

Value

A transformed double

Examples

logit(0.6)
logit(0.5)

inv_logit(3.5)
inv_logit(0)


dcm2 documentation built on April 1, 2023, 12:14 a.m.