[<< wikibooks] SAS/Math Functions
== Probabilistic Functions ==
SAS includes a set of probabilistic functions. Instead of reading quantile tables, one can print the quantiles of a variable in the SAS log.

Note that we use a data step but we do not create any table. We also use the 'put' instruction to print the result in the log.
Alternatively one can also use the PROC IML and print the results in the output window :

For a Student distribution, the first number is the quantile and the second the number of degrees of freedom.

For a

χ

2

{\displaystyle \chi ^{2}}
distribution :

For a Fisher distribution :

== Statistical Functions ==
mean()
N
Nmiss

== Maths Functions ==
log