Skip to course content
Free Python statistics course

Statistical Data Analytics with Python

Module 01 Knowledge Check

5 questions. Pass mark 4 out of 5. Answer every question before checking the answer key below, then retry after reading the feedback.

1. A statistical project needs an analysis-plan folder because…

2. A notebook that runs but fails on a fresh kernel usually indicates…

3. np.random.default_rng(seed) is preferable to np.random.seed(seed) because…

4. scipy and statsmodels differ mainly in that…

5. A results table should contain…

---

Answer Key and Explanations

Check these only after attempting every question.

1. B — choices made after seeing the data are unfalsifiable

There is always a version of the test choice that gives the answer you hoped for. Dating the plan is what rules that out.

2. B — hidden state from a cell that no longer exists

Cells can run in any order, and a variable defined in a deleted cell is still in memory.

3. B — its state travels with the object rather than being process-wide

Legacy seeding sets global state that any library call can consume, shifting every result after it.

4. B — statsmodels gives a model you can add covariates to

For a two-group comparison they give identical numbers. Only the statsmodels version accepts + covariate as the next term.

5. B — every planned comparison

A reader who cannot see how many tests were run cannot judge any of them.

Practical Check

Apply this module to your own work: complete the module activity for *The Python Statistical Workflow*, then write one sentence naming what your result shows and one naming what it does not.

Strong Answer Pattern

A strong answer names the task, the evidence used, the check performed, and the remaining limitation. It avoids "proved", "guaranteed", or "always" unless the evidence genuinely supports it.