Contents of the IMLMLIB Library

The IMLMLIB library contains the following computational modules:

CORR2COV function

scales a correlation matrix into a covariance matrix

COV2CORR function

scales a covariance matrix into a correlation matrix

EXPMATRIX function

computes the exponential of a matrix

ISEMPTY function

returns 1 if the argument is an empty matrix (zero rows and columns) and 1 otherwise

MAGIC function

returns a magic square of a given size

MAHALANOBIS function

computes Mahalanobis distance

MEDIAN function

returns the median of numeric data

QUADREG call

performs quadratic regression

QUARTILE function

computes quartiles

REGRESS call

performs regression analysis

STANDARD function

standardizes numeric data

The IMLMLIB library contains the following utility modules:

BLANKSTR function

returns a blank string of a specified length.

COL function

returns a matrix, $M$, that is the same size as the input matrix and such that $M[i,j]=i$.

COLVEC function

converts a matrix into a column vector

EXPANDGRID function

returns a matrix that contains all combinations of elements from specified vectors

NDX2SUB function

converts matrix indices to subscripts

PALETTE function

returns a discrete color palette that is suitable for visualizing categorical data

ROW function

returns a matrix, $M$, that is the same size as the input matrix and such that $M[i,j]=j$.

ROWVEC function

converts a matrix into a row vector

RSUBSTR function

replaces substrings

SUB2NDX function

converts matrix subscripts to indices

TABPRT call

prints matrices in tabular format

The library contains the following functions for generating random samples from statistical distributions:

RANDDIRICHLET function

generates a random sample from a Dirichlet distribution

RANDFUN function

returns a matrix of random numbers from a specified distribution

RANDMULTINOMIAL function

generates a random sample from a multinomial distribution

RANDMVT function

generates a random sample from a multivariate Student’s $t$ distribution

RANDNORMAL function

generates a random sample from a multivariate normal distribution

RANDWISHART function

generates a random sample from a Wishart distribution

The library contains the following graphical subroutines that produce ODS graphics:

BAR call

creates a bar chart

BOX call

creates a box plot

HEATMAPCONT call

creates a heat map with a continuous color ramp

HEATMAPDISC call

creates a heat map with a discrete color ramp

HISTOGRAM call

creates a histogram

SCATTER call

creates a scatter plot

SERIES call

creates a series plot

For compatibility with previous releases, the IMLMLIB library contains the following graphical subroutines that produce legacy graphics:

GBXWHSKR call

draws a box-and-whiskers plot

GPROBCNT call

draws a scatter plot with bivariate normal probability contours

GXYPLOT call

draws scatter plots of $x$-$y$ data