# LOGIT function

## Description

LOGIT(p) returns the logit of the proportion *p*:

$$ \operatorname{logit}(p)= \ln\left( \frac{p}{1-p} \right) $$

The argument *p* must be a number between 0 and 1, or it can be a matrix with all numbers between 0 and 1. When it is a matrix, the function returns a matrix with the same dimensions and with the LOGIT function applied to all elements.

## Example

LOGIT(0.9) returns 2.197224577