SynthPopCan Documentation

SynthPopCan logo

SynthPopCan is early-stage tooling for Canadian synthetic population work: control tables, iterative proportional fitting, Statistics Canada source inspection, census microdata adapters, linked household/person tree models, and validation reports.

Start By Task

Most new users should start with one of two generation workflows:

IPF from margin tables

Use this when you have seed rows and public control totals, or when you want to find a Statistics Canada WDS table and turn it into IPF inputs. The friendliest surface is the local web app. For scripts and methods sections, use Statistics Canada Sources, Controls, and IPF.

Generate from existing model

Use this when you have a prepared household/person model package and want to generate linked synthetic households and people. Start with the web app for a guided local run, or use Tree Models when you need command-line details.

Assign linked output to small areas

Use this after generating candidate household/person rows when you also have small-area Census Profile controls. Start with Small-Area Linked Synthesis for the current household-first workflow.

If you want to work in a notebook or teaching script, start with Getting Started With the Beginner API. That page uses import synthpopcan as spc and keeps advanced training, auditing, and packaging out of the first path.

If you prefer the command line but want the same beginner lane as the web app, run:

synthpopcan guide ipf
synthpopcan guide model

Advanced source preparation, microdata adapters, model training, audit reports, and release-readiness checks are still documented, but they come after the beginner generation workflows.