I write here about statistics and machine learning, mainly causal inference, survey methodology and sample representativeness. Posts include the code for anyone who wants to reproduce the analyses.
The same complex sample analysis run with the `survey` package (R) and the `svy` library (Python), to check whether estimates and standard errors match and, when they don't, why.