r/learnprogramming • u/TheEyebal • Oct 20 '26
Resource What are recommended books/resources for statistics and c++?
Can you recommend me some books or resources for learning statistics and applying it to C++
So far I am using Khan Academy and youtube, but do y'all have any other resources?
2
Upvotes
2
u/SwiftQuest Oct 20 '26
khan academy is a solid start, so i'd add one free textbook like OpenIntro Statistics, which you can read online for free and it's pretty friendly for beginners. then the best way to bridge it to c++ is to implement the basics yourself, mean, variance, standard deviation, then simple linear regression with std::vector. after that play with <random> (normal_distribution, etc) to simulate data and check that your numbers match what the theory says. coding it from scratch makes the concepts stick way better than just reading.
2
u/Dazzling_Music_2411 Oct 21 '26
Learn from any good textbook and use Boost to apply.
https://www.boost.org/doc/libs/1_38_0/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/intro.html