Live data from Hacker News

Ask HN: What programming language to learn for a statistician?

news.ycombinator.com

1–10 of 14 posts

Ask HN: What programming language to learn for a statistician?

#1
My SO, is currently a statistician/data research, she primarily that works in excel/vba/sql.

As she works in the public sector, we would like to broaden her employment prospects and looking at most J/Ds for Data Scientists or similar stats based roles programming is a must.

So which is the most suitable language to learn? Python? R?

TLDR; Data Scientists, what did you start out learning? What worked? What would you do differently?

Re: Ask HN: What programming language to learn for a statistician?

#4
I'd go with Python and specifically the scientific + numerical libraries. There are books like "Python for Data Analysis" from O'Reilly.

Five years ago I would have said "R", but Python enthusiasts have been replicating what R does in Python at a frantic pace, and R will never really replicate what Python brings to the table.

Re: Ask HN: What programming language to learn for a statistician?

#5
Dedicated probabilistic modeling environments are also gaining ground and may become standard in the near future.

The holy grail is something like: feed in some data, or parameters and have an algorithm generate the corresponding correct Bayesian inference and posterior distribution. It's very easy for scientists, even with years of knowledge and experience, to implement things incorrectly ;)

Check out Stan and Figaro:

http://mc-stan.org/

https://www.cra.com/technical-expertise/probabilistic-modeli...

Re: Ask HN: What programming language to learn for a statistician?

#6
As other said here, Python seems like the good choice; Plus it's a "real programming language". I mean, you can use it for more stuff: web programming, web scrapping, etc. There are a lot of libraries, even for game development.

If you can learn more than one I would recommend learning R as well, rather than other technologies such as octave or matlab..

Post reply on HN