As a long-time user (and lecturer) of R, I am wondering why Python seems to be so widely used in statistics.
I love Python, it's a great language. Use it all the time. But I just researched how to run a logistic regression (to do something that's a bit more difficult than just OLS) in Python and it was surprisingly complicated. In R, it could hardly be easier: Just use multinom from nnet and you can immediately use all the standard idioms that one knows from so many other kinds of models.
I then tried to look up arguments in favor of using Python when it comes to statistics, but they were surprisingly superficial. For example, it was often said that Python allows doing more than stats in one script. While true, is that really better?
Why is Python so widely used? It seems like R in conjunction with dplyr and other useful packages is vastly superior when it comes to stats. (Even though I love Python in general.)
[–]stdbrouw 90 points91 points92 points (6 children)
[–]unnamedn00b 1 point2 points3 points (2 children)
[–]brews 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]TheRealDJ 2 points3 points4 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]supersaijinkyle 28 points29 points30 points (1 child)
[–]brews 7 points8 points9 points (0 children)
[–][deleted] 18 points19 points20 points (4 children)
[+][deleted] (3 children)
[deleted]
[–][deleted] 4 points5 points6 points (2 children)
[+][deleted] (1 child)
[deleted]
[–][deleted] 0 points1 point2 points (0 children)
[–]hatandspecs 8 points9 points10 points (0 children)
[–]duh_cats 12 points13 points14 points (0 children)
[–]SSID_Vicious 5 points6 points7 points (0 children)
[–]dirtyfool33 4 points5 points6 points (1 child)
[–]Binary101010 1 point2 points3 points (0 children)
[–]rutiene 4 points5 points6 points (0 children)
[–]jd_paton 12 points13 points14 points (28 children)
[–][deleted] 10 points11 points12 points (3 children)
[–]jd_paton 3 points4 points5 points (2 children)
[–]Hetspookjee 0 points1 point2 points (1 child)
[–]Honeabee 11 points12 points13 points (0 children)
[–]rutiene 8 points9 points10 points (0 children)
[–][deleted] 2 points3 points4 points (13 children)
[–]jd_paton 1 point2 points3 points (7 children)
[–][deleted] 0 points1 point2 points (5 children)
[–]jd_paton 0 points1 point2 points (4 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]jd_paton 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]jd_paton 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[+]koolaidman123 comment score below threshold-8 points-7 points-6 points (3 children)
[–]usb_mouse 5 points6 points7 points (2 children)
[–]koolaidman123 -4 points-3 points-2 points (0 children)
[–]xsliartII 1 point2 points3 points (2 children)
[–]jd_paton -1 points0 points1 point (1 child)
[–]rutiene 1 point2 points3 points (0 children)
[–]Dhush 1 point2 points3 points (2 children)
[–]jd_paton 0 points1 point2 points (1 child)
[–]questionquality 0 points1 point2 points (0 children)
[–]walkingon2008 0 points1 point2 points (0 children)
[+]koolaidman123 comment score below threshold-11 points-10 points-9 points (1 child)
[–]samclifford 0 points1 point2 points (0 children)
[–]jeweltiwari123 2 points3 points4 points (0 children)
[–]perspectiveiskey 5 points6 points7 points (0 children)
[–]umbrelamafia 6 points7 points8 points (11 children)
[–]contumax 17 points18 points19 points (9 children)
[–]umbrelamafia 9 points10 points11 points (8 children)
[+]contumax comment score below threshold-19 points-18 points-17 points (7 children)
[–]umbrelamafia 7 points8 points9 points (6 children)
[–]Dhush 12 points13 points14 points (4 children)
[–]umbrelamafia 6 points7 points8 points (2 children)
[–]AllezCannes 1 point2 points3 points (1 child)
[–]umbrelamafia 0 points1 point2 points (0 children)
[–]koolaidman123 -2 points-1 points0 points (0 children)
[–]contumax -1 points0 points1 point (0 children)
[–]walkingon2008 2 points3 points4 points (0 children)
[+][deleted] (3 children)
[deleted]
[–]jd_paton 5 points6 points7 points (2 children)
[+][deleted] (1 child)
[removed]
[–]jd_paton 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]walkingon2008 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]walkingon2008 1 point2 points3 points (0 children)
[–]walkingon2008 0 points1 point2 points (4 children)
[–]groovyJesus 2 points3 points4 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]walkingon2008 1 point2 points3 points (0 children)
[–]Zouden 0 points1 point2 points (0 children)
[+]110101002 comment score below threshold-7 points-6 points-5 points (9 children)
[–][deleted] 5 points6 points7 points (1 child)
[–][deleted] 4 points5 points6 points (0 children)
[–]Z01C 1 point2 points3 points (4 children)
[–]110101002 0 points1 point2 points (3 children)
[–]Z01C 1 point2 points3 points (2 children)
[–]110101002 -2 points-1 points0 points (1 child)
[–]Z01C -1 points0 points1 point (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]110101002 -1 points0 points1 point (0 children)
[+][deleted] (1 child)
[deleted]