14.03.2014 Views

Scripting Guide - SAS

Scripting Guide - SAS

Scripting Guide - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix A JSL Syntax Reference 729<br />

Utility Functions<br />

SuInv(z, gamma, delta, theta, sigma)<br />

Description<br />

Johnson Su inverse transformation. If argument is normal, the result is Johnson Su.<br />

Summarize(, , , , , , , )<br />

Description<br />

Gathers summary statistics for a data table and stores them in global variables.<br />

Returns<br />

None.<br />

Arguments<br />

All arguments are optional and can be included in any order. Typically, each argument is assigned to a<br />

variable so you can display or manipulate the values further.<br />

name=By(col | list | Eval) Using a BY variable changes the output from single values for each<br />

statistic to a list of values for each group in the BY variable.<br />

c=Count The number of values in the column (or for each BY group).<br />

sum=Sum(col) The sum of values in the column (or for each BY group).<br />

mean=Mean(col) The mean of the column (or of each BY group).<br />

min=Min(col) The minimum value in the column (or in each BY group).<br />

max=Max(col) The maximum value in the column (or in each BY group).<br />

stddev=StdDev(col) The standard deviation of the column (or of each BY group).<br />

quantile=Quantile(col, q) The quantile specified by q for the column (or for each BY group).<br />

Note<br />

If all data are excluded or missing, missing values are returned by the summary statistics commands.<br />

Suppress Formula Eval(Boolean)<br />

Description<br />

Turns off automatic calculation of formulas for all data tables.<br />

SuTrans(x, gamma, delta, theta, sigma)<br />

Description<br />

Johnson Su transformation from a doubly bound variable to a standard normal (0, 1) distribution.<br />

t Log CDistribution(x, df, )<br />

Description<br />

Returns 1 - log (value) of the normal distribution function at quantile x for the t distribution.<br />

t Log Density(x, df, )<br />

Description<br />

Returns the log of the value of the density function at quantile x for the t distribution.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!