This article may require cleanup to meet Wikipedia's quality standards. The specific problem is: unencyclopedic copy of citizendium article. (February 2013) |
Free statistical software is a practical alternative to commercial packages. Many of the free to use programs aim to be similar in function to commercial packages, in that they are general statistical packages that perform a variety of statistical analyses. Many other free to use programs were designed specifically for particular functions, like factor analysis, power analysis in sample size calculations, classification and regression trees, or analysis of missing data.
Many of the free to use packages are fairly easy to learn, using menu systems. Many others are command-driven. Still others are meta-packages or statistical computing environments, which allow the user to code completely new statistical procedures. These packages come from a variety of sources, including governments, universities, and private individuals.
This article is primarily a review of the general statistical packages.
SAS (software) was among the first commercial statistical packages, released for mainframes in 1968.[1] SAS has since then released versions free to use, the most recent of which is SAS Studio.[2] Epi Info a free to use program from the Centers for Disease Control and Prevention was developed in the 1980s.[3] One of the first completely free to use and open source statistical software was R, first released in 2000.[1]
Some of the free software packages are from governments, for example Epi Info, which is from CDC[4] (Centers for Disease Control and Prevention). Some other software packages are from smaller or independent organizations or universities. JASP is supported by the University of Amsterdam.[5] Two other packages, R,[6] and PSPP are being developed as part of the GNU Project by a large group of individuals, many of them volunteers, all over the world. These packages are notable in that it is not just open source but also free software in the same sense that material written on Wikipedia is free: others can edit, use, and redistribute at will.
OpenStat was developed as a teaching aid.[7] Other packages were developed for specific purposes but can be more generally used. One example is Epi Info, developed for public health. Several of the packages, PSPP, R and Osiris don't appear to give any statements about why they were developed, other than just general use for statistical analysis.
These free software packages have been used in a number of scholarly publications. For example, OpenStat was used in a research letter to JAMA[8] and in several published studies.[9][10][11] Irristat is used in an agricultural report,[12] EasyReg is listed or used in several papers,[13][14][15] EpiInfo was also used in several papers,[16][17][18] R was used in a number of papers[19][20][21] and WinIdams was used in other papers.[22][23]
While Microsiris doesn't appear to be used in academic research, the author of the program was one of the original authors of OSIRIS,[24] which was the starting program from which WinIdams was developed.[25] The author of Microsiris also has contributed or co-contributed several components to WinIdams.[25]
There are a few reviews of free statistical software. There were two reviews in journals (but not peer reviewed), one by Zhu and Kuljaca[26] and another article by Grant that included mainly a brief review of R.[27] Zhu and Kuljaca outlined some useful characteristics of software, such as ease of use, having a number of statistical procedures and ability to develop new procedures. They reviewed several programs and identified which ones, at that time, had the most functionality. At that time, several of the programs may not have had all of the desired ability for advanced statistics. Grant reviewed some of the programing features of R, and briefly mentioned the availability of other programs. One other paper reviewed statistical packages, mainly commercial, but includes R.[28] One article reviewed EasyReg and included a discussion of its accuracy.[29]
Only two reviews have compared the output of various packages.[30][31] In the 2006 review, all of the packages read either CSV files or Microsoft Excel format. All of the packages gave exactly the same results for correlation and regression. The free software packages also gave the same regression results as did excel. One of the main differences among the packages was how they handled missing data. With the example data sets used in the review, and for the package versions available in November 2006 when this review was conducted, two packages, MicrOsiris and Epi Info, could read files with blanks for missing. Two other programs, Stat4U and WinIdams need something for the missing, like -9 or -9.99. The other packages could only handle data sets with no missing values. The more recent review, from 2022, compared output from a number of free to use statistical packages and found they all gave pretty much the same results.
In contrast, there are various reviews of commercial statistical software, such as a comparison between several major packages[32] and a brief review of several packages.[33]
Before using any statistical packages, it is generally a good idea to have a solid background in Statistics. Then the packages can be used to the best advantage, for example, to choose the most appropriate test, to make sure all the necessary assumptions are met, so that the appropriate conclusions can be drawn.
Once the statistical issues are understood, the next step is to decide which package to use. Most of these packages are menu driven, and can be learned in a couple of hours at most, except R, which is generally code driven and requires a much longer time to learn, and to some extent CDC's Epi Info, which also takes some time to learn.
Several of the packages also have tutorials. These tutorials help with a basic introduction and learning the basics of the programs. For example, CDC has tutorials about Epi Info.[34][35] The CDC page also lists a video slide show tutorial from the University of Nebraska,[36] and another site has online training classes.[37] R has a large number of tutorials and manuals, in English and other languages[38][39][40] and a faq site.[41] PSPP has a particularly easy to follow tutorial, and a rich set of statistical analyses, including T-test, Oneway and Factorial Anova, Linear and Logistic regression and Principal components analysis. It also has provision for it to be very easy to import data from many other different file formats. A few of the packages have email discussion lists, including R[42] and PSPP.[43]
Most of the packages have online manuals, guides or help pages. These are useful when there are questions about specific procedures or statistical tests. Some manuals or guides are for R,[44] PSPP,[45] and Zelig.[46] The CDC EpiInfo site itself does not have a manual, but one faculty member from Emory's School of Public Health has an introductory manual.[47]
Finally, there are a number of commercial packages such as SAS,[48] SPSS[49] and many others.[50] Most of the major commercial and free packages have many statistical procedures in common. The main reason to use free packages is probably the cost.
Many of the packages have some kind of opening menu that is used to get or enter the data, manipulate the data, and select the statistical analysis. Then after starting the program, generally data can be obtained, either from previously saved data sets, or importing from some other format. From this menu, data files in various formats can be imported. For example, if the data is in CSV form (text with commas between values), the program recognizes the format and creates a data set from the CSV file. Finally, the program can be used to do some analysis. In this analysis menu, the variables of interest can be selected, along with other options. Then the analysis is run and results are obtained.
Test statskingdom Free calculators[51]
R can be used both in a menu-driven way and as a programming language and as an interpreter.
Most packages are able to import data from Excel or CSV (text with commas separating values).
One consideration is whether there are missing data. Some packages, like PSPP and MicrOsiris, can automatically deal with the missing data. So for example, say one set of data look like this:
Name | Age | Sex | Born in US | Degree |
---|---|---|---|---|
Joe | 31 | M | Yes | BA |
Sam | M | No | MS | |
Sally | 28 | F | Ph.D. |
In this data set, Sam is missing his age, and Sally is missing whether she was born in the USA. When some packages, like PSPP or MicrOsiris, read in or import the original data set, the packages will recognize that those values are missing, and do their calculations accordingly. MicrOsiris automatically assigns 1.5 or 1.6 billion to blanks as missing, and these values are excluded from analysis.[52]
Other packages need a 'placeholder', such as '-9' where there are missing data.[53] Before the package is used to read the data, the data set has to be edited to put in a placeholder where there are missing data. So for example:
Name | Age | Sex | Born in US | Degree |
---|---|---|---|---|
Cole | 31 | M | Yes | BA |
Sam | -9 | M | No | MS |
Sally | 28 | F | -9 | Ph.D. |
If the data set actually includes '-9', then when the data is being read in the program will have to be told when the -9 means missing data.
Most of the packages have limitations of some sort.
Several of the programs, including Easyreg, Epidata and Instat, do not appear to handle missing data or do not handle it well.[30] While EpiInfo has many statistical procedures, correlation is not one of them. Rather correlation is found by regression.[54] This means that EpiInfo will not produce a single table showing correlations among multiple variables. According to the Zelig installation manual, use of Zelig requires that R and several of its libraries already be installed, and the installation also requires some degree of background in R.[46] One limit of MicrOsiris is in handling the output. When calculations are complete, the output pages through the results, but various menu boxes also appear over the results, and so the results cannot be accessed. The output can be saved, though, as a text file and then used.
One limitation is specific to programs that were developed by individuals. Support for these programs is limited to the time that the author has available. While the authors may, and often do, respond fairly quickly when there are few people asking questions, if too many people ask questions or the author is otherwise busy, support would correspondingly be slower.
R is both written by and used by a large number of people all over the world, and many forums and other internet facilities can be used to get support from other users. While R is powerful, the learning curve can be rather steep for those not already familiar with other kinds of scientific programming.[55]
{{cite web}}
: CS1 maint: multiple names: authors list (link)
This article incorporates material from the Citizendium article "Free statistical software", which is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License but not under the GFDL.