I'm curious if anyone has Python library suggestions for inferential statistics. I'm currently reading An Introduction to Statistical Learning, which uses R for the example code, but ideally I'd like to use Python as well.

Most of my data experience is with Pandas, Matplotlib, and Sklearn doing predictive modeling.

So far I've found statsmodels. Is this what is recommended or is there something else?



1 Answer 1


statsmodels is a good, and fairly standard, package to statistics.

For Bayesian interference you can go with PyMC - see as in Cam Davidson-Pilon, Probabilistic Programming & Bayesian Methods for Hackers.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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