inverse.logit {poliscidata}R Documentation

Calculates predicted probability for a given logged odds value

Description

This function calculates predicted probability for a given logged odds value, often useful for plotting or reporting predicted probabilities.

Usage

inverse.logit(logged_odds)

Arguments

logged_odds

A numeric value, or vector of numeric values.

Value

Returns predicted probability corresponding the the logged odds value, a numeric value between 0 and 1.

Examples

   inverse.logit(0)
   
   inverse.logit(-5:5)

[Package poliscidata version 2.3.0 Index]