Computes the logit transformation, including its inverse.
Syntax
LOGIT(X, Return_type)
 X
 the real number for which we compute the transformation. X must be between 0 and 1 (exclusive).
 Return_type
 is a number that determines the type of return value: 1 (or missing)= Logit , 2= Inverse Logit.
RETURN_TYPE NUMBER RETURNED 1 or omitted Logit Transform 2 Inverse of Logit transform
Remarks
 The logit link function is very commonly used for parameters that lie in the unit interval. Numerical values of theta close to 0 or 1 or out of range result in #VALUE! or #N/A.
 The Logit transformation is defined as follows:
$$y=\textit{Logit}(x)=\ln{\frac{x}{1x}}$$ And
$$x=\textit{Logit}^{1}(y)=\frac{e^y}{e^y+1}$$
Where:
 $x_{t}$ is the input value of the input time series at time $t$. X must be between 0 and 1, exclusive
 $y_{t}$ is the transformed logit value at time $t$
 $\textit{Logit}^{1}$ is the inverse Logit transformation
 The Logit function accepts a single value or an array of values for X.
Examples
Example 1:


Files Examples
Related Links
References
 John H. Aldrich, Forrest D. Nelson; Linear Probability, Logit, and Probit Models; SAGE Publications, Inc; 1st Edition(Nov 01, 1984), ISBN: 0803921330
 Hamilton, J .D.; Time Series Analysis , Princeton University Press (1994), ISBN 0691042896
 Tsay, Ruey S.; Analysis of Financial Time Series John Wiley & SONS. (2005), ISBN 0471690740
Comments
Article is closed for comments.