The Phi Function

I frequently encounter the Φ\Phi and Φ1\Phi^{-1} functions in statistical texts. For some reason, the notation always throws me off guard, and I have to spend a few minutes visualizing. This post draws a definitive link between the functions and corresponding graphs. This ought to help me save some time and build more solid understanding of the concepts that make use of this.

The Φ\Phi function is simply cumulative distribution function, FF, of a standard normal distribution.

Φ(z)=z12πσe(xσ)22σ2dx\Phi(z) = \int_{-\infty}^z\dfrac{1}{\sqrt{2\pi}\sigma}e^{-\frac{(x-\sigma)^2}{2\sigma^2}}dx

It denotes the probability of a standard normal random variable taking a value smaller than or equal to the value zz. In other words, the function returns the quantile of z. Some sources may have slightly different definition to it, but the spirit remains the same.

Depending on how you want to visualize it, the output of Φ\Phi can be visualized using p.d.f. and c.d.f.

The arrows point to the output of the function. On p.d.f., it is the area under the curve until the point zz. On c.d.f., it is the point on the curve when x=zx = z.

The Φ\Phi function may be brought up in the hypothesis testing context. What should be remembered is that the domain of the function is that of a standardized normal variable. The output won’t make sense if the input is from an arbitrary normal distribution. If you have a value that comes from a non-stanardized normal distribution (I don’t know if that’s an actual term), you’ll have to standardize it first to find the quantile.

If I have value of -20.5 from some population pp that assumes normal distribution where μ=10\mu = -10 and σ2=52\sigma^2 = 5^2, Fp(20.5)=Φ(20.5(10)5)=Φ(2.1)F_p(-20.5) = \Phi\big(\frac{-20.5 - (-10)}{5}\big) = \Phi(-2.1)

Φ1\Phi^{-1} is no more complicated than its inverse. The notation itself doesn’t necessarily come to me as second nature, as would mathematical notations like ++, \otimes, and \int. So I like to translate the function into words. Φ1(q)\Phi^{-1}(q) is essentially a standard normal variable in qth quantile.

That’s all there is to it folks. Φ(z)\Phi(z) accepts a value that is a standard normal random variable and spits out the corresponding quantile, while Φ1\Phi^{-1} accepts a quantile, q[0,1]q \in [0,1], and returns the corresponding z-value.

This topic is by no means complicated, but by forcing myself to write about this trivial topic and create visuals definitely helps me become more familiar with these kinds of notations. Building this familiarity with statistical terms comes in handy especially when I’m trying to read through journals or textbooks fluently without the need to stop and think about what the letters mean. Now I can spare myself a few minutes from having to remember what Φ1\Phi^{-1} means :).