svy Learn
  • Home
  • Notes
  • Case Studies
  • Workshops
  • Docs & libraries
  • svyLab
  • Book a walkthrough
  1. Getting Started
  2. Overview

svy Learn

Learning Resources for Complex Survey Data Analysis

Tutorials, technical notes, case studies, and workshops for the svy Python package — complex survey design, weighting, and analysis.

Author

Mamadou S. Diallo, Ph.D.

Modified

May 11, 2026

Tutorials, technical notes, and case studies for the svy Python package — complex survey design, weighting, and analysis. Start with the technical notes, explore case studies, or dive into the svy documentation.

Quick Links

📝 Technical Notes

Short-form articles covering specific topics, methods, and techniques.

Browse Notes →

🔬 Case Studies

Real-world applications of svy on national survey microdata.

View Case Studies →

🎓 Workshops

Structured, hands-on learning experiences for deeper skill building.

Explore Workshops →

📚 Books

Comprehensive guides covering survey methodology from start to finish.

Read Books →


Latest Technical Notes

How Fast Is svy? Performance Benchmarks Against R’s survey

Performance
Survey Methods
Python
R

Timings for means, totals, ratios, proportions, domain estimates and replicate-weight variance in Python’s svy 0.22.1, compared with svy 0.18.2 and R’s survey 4.5, at 50,000 to 1,000,000 rows.

Aug 4, 2026

Python’s svy vs R’s survey: Identical Results Across 18 Estimators

Validation
Survey Methods
Python
R

svy reproduces R’s survey package to six decimals across 18 estimators — Taylor, BRR, jackknife, bootstrap, SDR, cross-tabs, t-tests, and survey GLMs.

Jan 10, 2026

svy: Design-Based Survey Analysis in Python

Survey Methods
Python
Data Science

svy is an open-source Python library for complex survey data design and analysis—bringing stratified, clustered, and weighted estimators to the modern data-science ecosystem.

Nov 1, 2025
No matching items

View all notes →


Recent Case Studies

svy on Brazil’s TIC Domicílios 2025

Validation
Community
Brazil
Bootstrap

A community-led validation of svy against R’s survey package on Brazilian national ICT household microdata, covering bootstrap scale conventions and proportion estimation.

Apr 24, 2026
Mamadou S. Diallo, Thiago Meireles

svy on Mexico’s ENIGH 2024

Validation
Community
Mexico

A community-led validation of svy against R’s srvyr on Mexican national income and expenditure microdata, covering weighted estimation, standard errors, and domain analysis by federal entity.

Feb 15, 2026
Mamadou S. Diallo, Claudio Daniel Pacheco-Castro
No matching items

View all case studies →


Featured Workshops

2025 Medical Expenditure Panel Survey, Household Component (MEPS-HC)

true
In this document, we use Python and the svy library to reproduce the 2025 MEPS Workshop (originally conducted in R, see GitHub Repository).
Oct 27, 2025
No matching items

View all workshops →


About svy

svy is a Python package for the design, analysis, and reporting of complex survey data. It provides tools for:

  • Sample Design: stratified, cluster, and multi-stage sampling
  • Weighting: calibration, post-stratification, and weight adjustments
  • Estimation: point estimates, variances, and confidence intervals
  • Analysis: regression, cross-tabulation, and subgroup analysis
TipNew to svy?

Check out the svy documentation for installation instructions and API reference.

Back to top
Technical Notes
  • © Copyright 2026, svyLab.

svy: a Python Package for the Design, Analysis, and Reporting of Complex Survey Data

  • svyLab platform

  • All open source