8
$\begingroup$

just for curiosity... What language is used most here? R? MATLAB? Python? Java?

What for prototype or for production? For example I think MATLAB is mostly used for prototyping, python for both prot. and production...

$\endgroup$
2
  • 6
    $\begingroup$ pretty much solved here: stackoverflow.com/questions/2200460/… $\endgroup$
    – user22
    Commented Nov 20, 2010 at 16:06
  • 2
    $\begingroup$ Made wiki since this is entirely subjective. $\endgroup$
    – Shane
    Commented Nov 20, 2010 at 19:17

6 Answers 6

7
$\begingroup$

I couldnt agree more with a vote for R. R is the "Lingua Franca" of the statistics world. It is the definition of cutting edge, while most packages for MATLAB and SAS take several months. The language is very simple to understand as opposed to SAS. It also gives you the power to connect with C/C++/Python and databases.

Consider Revolution Analytics version of R for a bit more performance.

http://www.revolutionanalytics.com/products/revolution-r.php

$\endgroup$
4
  • 2
    $\begingroup$ I must say I have to disagree about R being simpler to learn than SAS. It may be because I learned SAS and SPSS first, but I think SAS, SPSS(PASW now), and Stata are all easier languages to pick up than R. It is a subjective argument though. $\endgroup$
    – Andy W
    Commented Nov 22, 2010 at 0:01
  • $\begingroup$ I feel like R gives the user so much more in terms of functionality. It goes above and beyond what SAS/SPSS can do. $\endgroup$
    – pslice
    Commented Nov 22, 2010 at 0:23
  • 3
    $\begingroup$ I don't disagree with that, but that doesn't make it easier to understand. I think it is pretty transparent what objects I am working with in SAS, SPSS, or Stata and the format/nature of those objects, but it isn't as transparent in R. Although R may be more cutting edge, I rarely have a need for cutting edge statistical techniques in my day to day work. $\endgroup$
    – Andy W
    Commented Nov 22, 2010 at 1:21
  • $\begingroup$ Hard to think of closed source systems being transparent. Even if you used only old statistical methods, R is a more more efficient system for using them, and forms a complete reproducible research toolbox. $\endgroup$ Commented Jun 12, 2016 at 11:42
8
$\begingroup$

Well, you can PAY for MATLAB, and then either (1) program the stuff you really need from the ground up or (2) PAY MORE for MATLAB toolboxes. And discover that doing useful statistics in MATLAB was an afterthought handled in the increasingly less useful Statistics Toolbox. Or...you can download R for FREE and search for (and find!) the packages you need, which you can also download for FREE.

Lots of small scale production stuff can be done in R. If you're doing something really big (think US census), you probably need to go learn SAS--and get your employer to pay for it.

$\endgroup$
7
$\begingroup$

"Popularity" depends on the community and the definition of "statistics". World-wide, taking a broad view of "statistical inference" as including any methods of drawing conclusions or taking actions based on quantitative data, there is little question that Excel beats all other applications, including R, SAS, Stata, SPSS, and S-Plus. (The links point to different kinds of statistics, but they are highly suggestive, to say the least.) Python and MATLAB aren't even blips in the statistics. I am not saying that this is a good thing or that we should like it: that's just how it is and that's how it's going to stay for a very long time.

We shouldn't draw any inferences from what may appear to be popular "here" in this forum. Commercial software vendors support their own forums, so naturally a place like SE will favor people using less actively supported software, especially free, open-source, and academic solutions.

$\endgroup$
6
$\begingroup$

It should be clear by looking at the most popular tags that R is the most popular language on this site. Whether that makes it the most popular language for statistical analysis can't be inferred directly, but one might suppose as much.

$\endgroup$
4
$\begingroup$

R and SAS have each their pros and cons. I think more statisticians need to embrace the fact that lots of great statistical software is available, rather than endlessly bicker about which is superior.

R is free. SAS is very expensive. R gives you the ability to do just about anything. SAS may or may not. R has amazing graphical abilities. Seeing SAS graphics makes it feel like 1985 all over again. SAS has great customer support. R support = hours of searching mailing list archives. Also with a name like "R", search engine results are often poor. R is extremely slow and does not deal well with large data sets. SAS does fine with large data sets. SAS tends to be more robust. In my experience, when it comes to mixed effects modeling or anything involving design of experiments (such as analyzing crossover designs), SAS is superior.

For large scale, brute force simulations, I use Fortran. I used to use C, but have found Fortran is much easier to use. I've never used MATLAB. If I need statistical power of R but the speed of Fortran, I will write the time-intensive operations (i.e. loops) in Fortran and call the subroutine from R.

$\endgroup$
3
  • 3
    $\begingroup$ Well, R support are places like here, which are often more effective that a paid support. For Googling, there is rseek.org, works very nice. 99% of R-is-slow cases can be solved with some thinking; there are also packages to deal with huge data (it is not straightforward in SAS neither). R is a programming language, SAS is an extended SQL. $\endgroup$
    – user88
    Commented Nov 22, 2010 at 9:30
  • 2
    $\begingroup$ +1 because this answer is useful, but I think your points about R's support, speed, and ability to handle large data are out of date or becoming so fairly quickly. $\endgroup$ Commented Nov 22, 2010 at 16:00
  • 2
    $\begingroup$ I'll second @Matt and @mbq's comment about R performance, but I'd like to add that R is pretty good actually for (N)LMEs. I can remember a talk from Doug Bates at the DSC 2009 conference where he showed how the lme4 package easily handles a lot of random effects (as encountered e.g., in educational assessment). My own (but limited) experience (SAS NLMIXED vs. R lme4) confirms that point: R is by no way slower than SAS when it comes to apply complex IRT models, and it handles large data genetic sets as well (thanks to clever C implementation). $\endgroup$
    – chl
    Commented Nov 22, 2010 at 22:25
1
$\begingroup$

My preference goes to Python, and perhaps, Java. First, they are real programming languages. Second, they are the most popular languages (TIOBE Index). You can also convert between these languages using several scripting languages. In the past I use DMelt platform http://jwork.org/dmelt/ to perform statistical calculations, and I was very impressed by the graphics in 2D and 3D, which can be easily achieved for professional papers. R package did not impress me with the graphics.

$\endgroup$
1
  • 2
    $\begingroup$ This doesn't address the question of most popular language for statistical inference. It's mostly about your personal preferences with a mention of what are popular programming languages. $\endgroup$
    – Nick Cox
    Commented Jun 12, 2016 at 6:55

Not the answer you're looking for? Browse other questions tagged or ask your own question.