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

October 8, 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 →


Latest Technical Notes

Read NHANES DEMO_L.xpt in Python

Health
Python
Data I/O

How to open DEMO_L.xpt, the NHANES August 2021–August 2023 demographics file, in Python with svy: read the SAS transport file, keep its variable labels, pick the right weight and get design-based estimates.

Oct 15, 2026

Read SPSS .sav files in Python: GSS 2024

Social Surveys
Python
Data I/O

How to open an SPSS .sav file in Python with svy, using the 2024 General Social Survey: read it straight from the zip, keep its variable and value labels, see what happens to declared missing values, pick the right weight and get design-based estimates.

Oct 15, 2026

Read Stata .dta files in Python: MEPS 2023

Health
Python
Data I/O

How to open a Stata .dta file in Python with svy, using the MEPS 2023 full-year consolidated file (h251.dta): read it, even straight from the zip, keep its variable and value labels, clear the reserve codes and get design-based estimates.

Oct 15, 2026
No matching items

View all notes →


Recent Case Studies

svy on India’s Periodic Labour Force Survey, 2023-24

Labour force
India
Panel data
Variance estimation

Does a rotating panel change the procedure? India’s labour force survey revisits urban households for four quarters. For levels it changes the weight, not the estimator; for change between quarters it halves the standard error; and it moves the level itself.

Sep 27, 2026
Mamadou S. Diallo

India’s Time Use Survey 2024: from diary to estimate

Time use
India
Data wrangling

Turning a 10-million-row time diary into person-level estimates with standard errors, and reproducing every table in India’s Time Use Survey 2024 fact sheet.

Sep 11, 2026
Mamadou S. Diallo

svy on the Nigeria GHS-Panel, 2018/19 to 2023/24

Panel data
Nigeria
Living standards

Two waves of the LSMS-ISA General Household Survey-Panel reproduced in Python: the 2018/19 report under the Wave 4 weight, the 2023/24 report under the longitudinal weight, and the report’s change tables, with the standard errors a panel design earns.

Sep 6, 2026
Mamadou S. Diallo
No matching items

View all case studies →


Featured Workshops

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

true

The 2025 MEPS-HC workshop, originally in R, reproduced in Python with svy: survey-weighted health expenditure estimates from the 2023 public-use files.

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