The StatTeacher Toolkit is an interactive statistics problem generator
built for instructors and students. Configure population parameters, generate synthetic
datasets with controlled properties, and compute complete statistical results —
including test statistics, critical values, effect sizes, and confidence intervals —
all directly in your browser. No server required.
Select a statistical test, adjust the parameters, and click Generate Problem to
produce a practice dataset with a full results table ready for lecture, homework, or exams.
Results can be downloaded as a CSV file.
After generating a problem, a Student Problem Generator card appears
automatically. Narrative tests (Z-test, t-tests, Pearson) produce a plain-English scenario
with step-by-step questions and an instructor key. Table-based tests (ANOVA,
Repeated-Measures ANOVA, regression) produce a partially blanked summary table at
Easy, Moderate, or Hard difficulty. All worksheets and keys can be exported as Excel files.
Python · PyodideStatistics EducationHypothesis TestingStudent Problem GeneratorRuns in BrowserOpen-Source
Loading Statistical Engine
Setting up the Python environment in your browser via Pyodide.
This takes about 15–30 seconds on first load.
Initializing…
Generate a Problem
Z-Test Parameters
One-Sample t-Test Parameters
Independent t-Test Parameters
Group 1
Group 2
Repeated-Measures t-Test Parameters
ANOVA Parameters
Format: Name:Levels — e.g., A:3 or A:3,B:2
Repeated-Measures ANOVA Parameters
Pearson Correlation Parameters
Simple Linear Regression Parameters
Running computation…
Batch Dataset Generation
Parameter Sweep (optional)
Batch count = longest list/range length when sweep is active.
Batch Dataset Generation
Parameter Sweep (optional)
Batch count = longest list/range length when sweep is active.
Batch Dataset Generation
Parameter Sweep (optional)
Batch count = longest list/range length when sweep is active.
Batch Dataset Generation
Parameter Sweep (optional)
Batch count = longest list/range length when sweep is active.
Batch Dataset Generation
Parameter Sweep (optional)
Batch count = longest list/range length when sweep is active.
Batch Dataset Generation
Parameter Sweep (optional)
Batch count = longest list/range length when sweep is active.
Batch Dataset Generation
Parameter Sweep (optional)
Batch count = longest list/range length when sweep is active.
Batch Dataset Generation
Parameter Sweep (optional)
Batch count = longest list/range length when sweep is active.
Results
Student Problem Generator
Experimental
Fill in the narrative context below to produce a student-facing hypothesis test problem
populated with the values from your generated dataset.
The dependent variable being measured
Measurement unit for the variable
Who the sample is drawn from
Label for the first group
Label for the second group
Label for the first measurement occasion
Label for the second measurement occasion
Copy/paste into an LMS, worksheet, or exam.
Batch Problem Generation
Parameter Sweep (optional)
Batch count = longest list/range length when sweep is active.
ANOVA Table Practice Problem
Experimental
Fill in the details below to generate a student-facing ANOVA table problem
with blanked-out cells based on the selected difficulty.
Dependent variable being measured
Cells marked with ? are intentionally missing for students to fill in.
Batch Problem Generation
Parameter Sweep (optional)
Batch count = longest list/range length when sweep is active.
Two-Way ANOVA Table Practice Problem
Experimental
Fill in the details below to generate a student-facing two-way ANOVA table problem
with blanked-out cells based on the selected difficulty.
Dependent variable being measured
Cells marked with ? are intentionally missing for students to fill in.
Batch Problem Generation
Parameter Sweep (optional)
Batch count = longest list/range length when sweep is active.
RM ANOVA Table Practice Problem
Experimental
Fill in the details below to generate a student-facing one-way repeated-measures ANOVA table problem
with blanked-out cells based on the selected difficulty.
Dependent variable being measured
Cells marked with ? are intentionally missing for students to fill in.
Batch Problem Generation
Parameter Sweep (optional)
Batch count = longest list/range length when sweep is active.
Student Problem Generator
Experimental
Fill in the variable names below to produce a student-facing Pearson correlation
hypothesis test problem populated with values from your generated dataset.
Predictor / X variable being measured
Outcome / Y variable being measured
Who the sample is drawn from
Copy/paste into an LMS, worksheet, or exam.
Batch Problem Generation
Parameter Sweep (optional)
Batch count = longest list/range length when sweep is active.
Regression Table Practice Problem
Experimental
Fill in the details below to generate a student-facing regression ANOVA table problem
with blanked-out cells based on the selected difficulty.
Predictor variable
Outcome variable
Who the sample is drawn from
Cells marked with ? are intentionally missing for students to fill in.
Batch Problem Generation
Parameter Sweep (optional)
Batch count = longest list/range length when sweep is active.
Supported Tests
Z-Test & t-Tests
One-sample Z-test (known σ), one-sample t-test, independent-samples t-test,
and repeated-measures t-test. All report Cohen's d, r², standard error,
and a 95% confidence interval.
Independent ANOVA
One-way and fully-crossed factorial designs with arbitrary factor combinations.
Returns a complete source table with SS, df, MS, F, and p-values for all
main effects and interactions.
Repeated-Measures ANOVA
One-way within-subjects design partitioned into Between Treatments, Between Subjects
(nuisance), and Error. Reports F = MSBT / MSError
with the full source table, decision, and dataset export.
Pearson Correlation
Generates X and Y datasets and computes SSX, SSY, SPXY,
Pearson r, and r². Tests r against a null ρ using a t transformation.
Simple Linear Regression
Least-squares regression returning the slope, intercept, fitted equation,
and an ANOVA-style F-test with Regression / Residual / Total source table.
Citation
If you use the StatTeacher Toolkit in your course or research, please cite it as:
Warren, K. (). StatTeacher Toolkit
[Python/Pyodide web application].