frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Book on Probability and Statistics for Data Science with videos / code

https://www.ps4ds.net/
2•levmarq•1h ago

Comments

levmarq•1h ago
This is a textbook I wrote based on my experience teaching probability and statistics for 10 years.

At the beginning I tried the traditional approach of first teaching probability and then statistics, but it didn’t work. Students had a hard time connecting probabilistic concepts to statistical techniques, which often forced me to cover those concepts all over again.

Because of this, I decided to interleave probability and statistics from the beginning, showing how to estimate each probabilistic object (probabilities, probability mass function, probability density function, mean, variance, etc.) from data after its theoretical definition. For example, I covered nonparametric and parametric estimation (e.g. histograms, kernel density estimation and maximum likelihood) right after introducing the probability density function. This allowed me to use real-data examples throughout, which is something students had consistently asked for.

I also decided to interleave causal inference from the beginning. This can be challenging, as some of the concepts are a bit tricky, but it exposes students to the challenges of interpreting conditional probabilities and averages in the real world straight away, which I think is worth it.

I didn’t find any material that allowed me to perform this restructuring, so I wrote my own notes and eventually a book following this philosophy. The materials include a free pdf, Python code for the real-data examples, solutions to the exercises, and supporting videos and slides.

Can you read every byte in Super Mario Bros.? [video]

https://www.youtube.com/watch?v=o0gOALTvkcc
1•Velocifyer•2m ago•0 comments

8192 Core RISC-V Cluster [video]

https://www.youtube.com/watch?v=qMR3IXF2sWw
1•radeeyate•2m ago•0 comments

USAID Cuts Killed People. That's the Truth

https://www.nytimes.com/2026/07/01/opinion/usaid-elon-musk-doge.html
1•Teever•5m ago•0 comments

Zig: All Package Management Functionality Moved from Compiler to Build System

https://ziglang.org/devlog/2026/#2026-06-30
1•tosh•6m ago•0 comments

A Verdict on (The) Slaughter

https://paulkrugman.substack.com/p/a-verdict-on-the-slaughter
1•rbanffy•7m ago•0 comments

Show HN: Plot Workshop – A story planning tool for writers

https://www.plotworkshop.com
1•calzakk•7m ago•0 comments

Glaze made me an editor for this site

https://devz.cl/posts/trying-out-the-glaze-app/
1•DanielVZ•8m ago•0 comments

Anthropic's Co-Founder and Top Economist on Doing Research at the AI Frontier [video]

https://www.youtube.com/watch?v=aE3gPh2CC9I
1•ronfriedhaber•8m ago•0 comments

The Sportsbook Is Recruiting the Next Founder Before Startups Do

https://runtimewire.com/article/the-sportsbook-is-recruiting-the-next-founder-before-startups-do
1•ryanmerket•8m ago•0 comments

Analog Computing: The Infinity Between 0 and 1 [video]

https://vimeo.com/1202659062
1•rbanffy•8m ago•0 comments

The Vertical Codebase

https://tkdodo.eu/blog/the-vertical-codebase
2•theanonymousone•11m ago•0 comments

Axiom: A social platform where all ideas are logically valid

https://axiomreason.com
1•samcymbaluk•11m ago•0 comments

Confidential computing's core trust mechanism is broken. The fix may not exist

https://www.theregister.com/security/2026/07/04/confidential-computings-core-trust-mechanism-is-b...
2•manwithaplan•12m ago•1 comments

$33B sitting dead on-chain

https://beincryptodaily.substack.com/p/33b-sitting-dead-on-chain
1•wslh•12m ago•0 comments

"if you don't pass an allocator you can't allocate"

https://twitter.com/eatonphil/status/2073435670220099875
1•tosh•13m ago•0 comments

Scaling Laws, Honestly

https://www.completeskeptic.com/p/scaling-laws-honestly
1•CompleteSkeptic•15m ago•0 comments

The night the Earth shook, strangers started to draw

https://sheets.works/data-viz/strangers-draw-maps
2•laurex•17m ago•1 comments

Toxoplasma Gondii

https://en.wikipedia.org/wiki/Toxoplasma_gondii
1•simonebrunozzi•18m ago•0 comments

Anthropic Issued with a Cease and Desist

https://www.thatprivacyguy.com/blog/anthropic-cease-and-desist/
1•robin_reala•19m ago•0 comments

The End of North America

https://paulkrugman.substack.com/p/the-end-of-north-america-157
3•rbanffy•20m ago•0 comments

Curveball

https://mightyburger.net/projects/curveball/
3•toilet•20m ago•0 comments

Happy Independence Day

3•Velocifyer•24m ago•0 comments

Papa Johns Can Predict When Your Fridge Is Empty

https://www.adexchanger.com/tv/papa-johns-can-predict-when-your-fridge-is-empty/
1•ohjeez•25m ago•0 comments

Show HN: Follow London Trains in 3D

https://ride.nexttrain.london/
2•mgranados•25m ago•0 comments

Combined 1D and 2D Barcodes

https://shkspr.mobi/blog/2026/07/combined-1d-and-2d-barcodes/
1•Brajeshwar•26m ago•0 comments

Alexa+, the Next Generation of Alexa

https://www.aboutamazon.com/news/devices/new-alexa-generative-artificial-intelligence
1•doodlesdev•26m ago•1 comments

Are we still writing software?

https://ernestscribbler.xyz/are-we-still-writing-software.html
1•nickstinemates•27m ago•0 comments

ActiveGraph v1.2.0 is live – x30 speedup

https://activegraph.ai/blog/activegraph-v1-2-0
5•gkorland•27m ago•3 comments

The LLVM Compiler Infrastructure

https://cacm.acm.org/federal-funding-of-academic-research/the-llvm-compiler-infrastructure/
1•yarapavan•27m ago•0 comments

Understanding the Dynamics of the AI Ecosystem with Pace Layers

https://www.dbreunig.com/2026/07/03/ai-ecosytem-pace-layers.html
1•dbreunig•28m ago•0 comments