Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ Phi() [4/7]

double stan::math::Phi ( double  x)
inline

The unit normal cumulative distribution function.

The return value for a specified input is the probability that a random unit normal variate is less than or equal to the specified value, defined by

\(\Phi(x) = \int_{-\infty}^x \mbox{\sf Norm}(x|0, 1) \ dx\)

This function can be used to implement the inverse link function for probit regression.

Phi will underflow to 0 below -37.5 and overflow to 1 above 8

Parameters
xArgument.
Returns
Probability random sample is less than or equal to argument.

Definition at line 32 of file Phi.hpp.