Installation Guide

Default setup

To use svy-sae, you first need to install it. You can install svy-sae from PyPI using pip:

pip install svy-sae

The svy-sae package depends on svy for survey design specification and direct estimation. This dependency is installed automatically.

We recommend using a virtual environment to install svy-sae. You can create one with:

python -m venv venv

You may replace venv with any name you prefer, such as .venv or svy_sae_env. Activate the virtual environment with:

source venv/bin/activate

Next steps

Next, take a quick tour of the svy-sae workflow and package structure:

Quick Tour