Skip to content
Learn Python with BNHR

Stretch: tabulation

61_stretch_tabulation.py, to read: the notebook as you get it, run, with its exercises still blank. Its dropdowns and sliders show their first setting; to change them, or to write the exercises, open the notebook in marimo on your computer. Run or Edit, above the notebook, can copy or download it: it runs inside the course folder, beside the course's data, so save it there. Stuck on an exercise? The companion has each solution and why it works.

Open the notebook on a page of its own

Something new

Identify results
LayerExplore a module
ModuleEstimate under the survey design
AboutModule 6 of Python for Survey Statistics: the sample design in svy, totals by every domain with SE, CV and CI, weighted estimates beside the sample's own counts at three levels, and ReGenesees call by call. Its sections, its notebooks to read on the web, and the companion's solutions and explanations.
CoursePython for Survey Statistics, free