TY - JOUR
AU - Baiocchi, Giovanni
PY - 2004/05/16
Y2 - 2024/02/27
TI - Using Perl for Statistics: Data Processing and Statistical Computing
JF - Journal of Statistical Software
JA - J. Stat. Soft.
VL - 11
IS - 1
SE - Articles
DO - 10.18637/jss.v011.i01
UR - https://www.jstatsoft.org/index.php/jss/article/view/v011i01
SP - 1 - 75
AB - In this paper we show how Perl, an expressive and extensible high-level programming language, with network and ob ject-oriented programming support, can be used in processing data for statistics and statistical computing. The paper is organized in two parts. In Part I, we introduce the Perl programming language, with particular emphasis on the features that distinguish it from conventional languages. Then, using practical examples, we demonstrate how Perl's distinguishing features make it particularly well suited to perform labor intensive and sophisticated tasks ranging from the preparation of data to the writing of statistical reports. In Part II we show how Perl can be extended to perform statistical computations using modules and by "embedding" specialized statistical applications. We provide example on how Perl can be used to do simple statistical analyses, perform complex statistical computations involving matrix algebra and numerical optimization, and make statistical computations more easily reproducible. We also investigate the numerical and statistical reliability of various Perl statistical modules. Important computing issues such as ease of use, speed of calculation, and efficient memory usage, are also considered.
ER -