ABSTRACT

This chapter describes the A Programming Language (APL) to analyze data. It introduces several primitive APL functions and operators to compute descriptive statistics. The chapter provides the capability to find minimum and maximum values and the capacity to order, replicate, and accumulate data. It also introduces character arrays, which are used to display data visually via histograms and scatter plots. Linear regression is recalled and data are plotted along with the line of best fit. The chapter deals with sampling from several types of distributions. The character graphics used here give a crude plot of the best fit line, which is marked with the jots. The inverse probability distribution method allows sampling from the exponential density. Rather than working back from a cumulative distribution or simulating experiments as in the previous two examples, the approach will be to approximate a normal population by averaging many selections from a uniform density.