September 12, 2026 ยท Vivek Raj ยท 11 min read
Why accuracy lies on imbalanced data, and how precision, recall, F1, ROC-AUC, and precision-recall curves tell the real story โ built up from the math and implemented in Julia with MLJ.jl, on a synthetic churn dataset with a known, verified answer.
- julia
- mlj
- machine-learning
- classification
- statistics
September 3, 2026 ยท Vivek Raj ยท 16 min read
Simple random, systematic, stratified, and cluster sampling, plus the bootstrap โ explained with the math, implemented in both R and Julia, and checked with a Monte Carlo simulation that shows exactly why stratified sampling wins and cluster sampling doesn't.
- statistics
- r
- julia
- data-science
- sampling
August 28, 2026 ยท Vivek Raj ยท 10 min read
What a p-value actually means, why 'statistically significant' isn't the same as 'real,' and why peeking at your A/B test results early quietly wrecks your false-positive rate โ demonstrated with a runnable Monte Carlo simulation, not just formulas.
- statistics
- python
- data-science
- a-b-testing
- experimentation