[…] you see an expression like (1 - Φ(x)) for a right-tailed probability, you should use the SDF function rather than the CDF function. Therefore, the following SAS IML functions define the integrand and an alternative to the built-in …